Announcement

Collapse
No announcement yet.

TCP/IP Sender

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • TCP/IP Sender

    I am trying to set up a very simple TCP/IP sender. All I need it to do is send a string to a given server IP/Domain and port. I already have something listening for the packet but can not figure out how to simply send the string....

  • #2
    I see that you have my Socket object plugin. You should definitely be able to connect to a certain port and send a string, then disconnect. If you get stuck, please post your issue...

    Ulrich

    Comment


    • #3
      Hey Ulrich...

      yea I have purchased your plugin but can not seem to get it connected to send my message. What I am trying to do is gather the UUID from the computer, add a time stamp then send that packet to a server on a ddns.net address and a given port number. The server is filtered based on the UUID. So if it sees that specific UUID then it grabs its message and displays a received message.

      So from your plugin i need to send something like 03000200-0400-0500-0006-000700080009 timestamp 1-10-2017 19:31:0

      Then I have another software listening for this message. Sry for the questions. I am pretty whippy on Autoplay but haven't messed with network items much and must admit not to good at it.

      Comment


      • #4
        I am also wondering as to what to put in the "ObjectName" is that just the plugin name that I drop into the project?

        Comment


        • #5
          OK Ulrich,

          I think I have the communication working. I'll upload it so you can check it. I have put 0000 in for the port but it does work with our port. To get a UUID I have been using a CMD prompt. Does anybody have any idea how to bring the results from a CMD prompt into the project?
          Attached Files

          Comment


          • #6
            You can use a pipe in Lua to read the output (stdout) from certain programs. Here is an example:


            Ulrich

            Comment


            • #7
              OK thank you.

              Comment


              • #8
                Ulrich,

                Will your plugin work for sending UDP messages?

                Comment


                • #9
                  I have several programs listening on port 53000 on a local network. I just want to send a number to all of them at once via UDP on port 53000. I see the UDP option in your plugin however haven't been able to get a message out to my other listeners...

                  Comment


                  • #10
                    Please contact me directly. Support for UDP was experimental in this plugin, it may not work properly. I have a newer build of the Socket plugin, which may allow sending a UDP message to an open port where a service may be listening for data.

                    Ulrich

                    Comment


                    • #11
                      Whats your best contact info to discuss? Email?

                      Comment


                      • #12
                        Ulrich...

                        Hello Sir! I purchased your socket plugin and was looking to send an email via SMTP and tried your link for the example file and the link no longer works.

                        Could you send me a simple snippet on just sending out one email message with your plugin? Thanks in advance.

                        Comment


                        • #13
                          The missing file was restored on my server.

                          Ulrich

                          Comment

                          Working...
                          X
                          😀
                          🥰
                          🤢
                          😎
                          😡
                          👍
                          👎