Menu

Unresponsive thread UDP socket times out!!

Anonymous
2016-01-14
2016-01-18
  • Anonymous

    Anonymous - 2016-01-14

    Hi,
    Thanks for creating such a wonderful tool.
    I am using this software to send/receive UDP packets
    to an embedded system over ethernet.

    They system works fine initially, but if left idle for a
    few minutes the system stop receiving UDP packets.
    The only way to get over this seems to be either to continuously send/receive packets
    or to send back a packet from the terminal window to the device which probably restarts the
    receiving thread.
    
    I am reasonably certain there is no problem with the hardware I am using as I tried using another utility 
    called Packet sender and this other utility seems to be receiving packets irrespective of the duration
    of the socket. If there is something I am missing kindly let me know.
    Also there was a broken link to youtube video which seems to be no longer available. I remember seeing
    this video a few months back. Kindly put up the youtube video as it was very useful.
    
    Regards
    Rohit Khanna
    
     
  • Stefan Zieker

    Stefan Zieker - 2016-01-14

    Hi Rohit,

    do you use the Route_Serial_TCP_UDP script (https://sourceforge.net/projects/routeserialtcpudp/) or your own script?
    Please tell me a little bit more about your configuration:
    - how is the embedded device connected to your PC
    - on which OS is ScriptCommunicator running
    - how is ScriptCommunicator connected to the ethernet
    - which version of ScriptCommunicator do you use

    PS: I have removed the video because I have changed the GUI of ScriptCommunicator and had no time to create a new video.

    Best regards,
    Stefan

     

    Last edit: Stefan Zieker 2016-01-14
  • Anonymous

    Anonymous - 2016-01-15

    Hi Stefan,
    I think I configured my own script. Putting the images of the configration I had done.!
    I am using a custom hardware (a microcontroller with an ethernet module) connected to the
    PC using ethernet CAT5 cable.
    I observed another related issue. After configuring the terminal and hitting the connect button
    the system doesn't start receiving UDP packets until one sends out any random character to
    initiate the receiving thread/function.

     

    Last edit: Anonymous 2016-01-15
  • Stefan Zieker

    Stefan Zieker - 2016-01-15

    Hi Rohit,

    I don't know if I have understand you:
    - ScriptCommunicator receives only UDP packets if you initially send a packet from ScriptCommunicator to your embedded device
    - after a few minutes ScriptCommunicator receives no more packets until you send a packet from ScriptCommunicator to your embedded device
    Is that correct?

    Can you test this with the current version of ScriptCommunicator (3.28) please (I have changed a lot of things since your version (3.20))?

    PS: I have uploaded a new video of ScriptCommunicator.

    Thx for your patience.

    Best regards,
    Stefan

     

    Last edit: Stefan Zieker 2016-01-15
  • Anonymous

    Anonymous - 2016-01-15

    Hi Stefan,

               I am finding the same problem with the version 3.28 as well! Image 
               attached.
    
              1) Yes you got both the points I was tring to convey!!
              2) I didn't realize the new version 3.28 is out I will try that!!
              3) I understand and appreciate the effort you have put in writing and 
                   testing this tool. You can take as much time to corrects the small 
                   bugs and it would be wrong on our part to expect you would correct 
                   small bugs in short notice.
    
                  Thanks again for promtly reply to the messages and putting the video.
    
                  Regards
                  Rohit
    
     

    Last edit: Anonymous 2016-01-15
  • Stefan Zieker

    Stefan Zieker - 2016-01-16

    Hi Rohit,

    I have started 2 instances of ScriptCommunicator on Mac OS X, Linux and Windows 10 locally and started sending of UDP packets. All worked fine. I will see if I can connect to PC's directly at work (on monday) and check the UDP sockets.

    Your port number is very low (maybe you collide with an other program). Can you test a port number > 10000 please?

    Which operating system do you use?

    Do you have the same problems if you start/connect two instances of ScriptCommunicator locally and sent UDP packets?

    Best regards,
    Stefan

     

    Last edit: Stefan Zieker 2016-01-16
  • Stefan Zieker

    Stefan Zieker - 2016-01-17

    Hi Rohit,

    in the attachments are 2 test versions of the ScriptCommunicator executable. I would appreciate if you could test these to version.

    Best regards,
    Stefan

     

    Last edit: Stefan Zieker 2016-01-17
    • Anonymous

      Anonymous - 2016-01-17

      Hi Stefan,
      I will try them and get back to you.
      Regards
      Rohit

       
  • Anonymous

    Anonymous - 2016-01-17

    Hi Stefan,
    I tried formatting my PC and reinstalling the OS, With the new install version 3.28 seems ok. I will test it further and get back to you in a days time. Apologies if this turns out to be a problem with corrupted OS files.
    Regards
    Rohit

     
  • Stefan Zieker

    Stefan Zieker - 2016-01-17

    Hi Rohit,

    do you mean the 'normal' version or one of my test versions (from ScriptCommunicator_Tests.zip)?

    Best regards,
    Stefan

     
    • Anonymous

      Anonymous - 2016-01-17

      Stefan,
      The normal versions are the one relased in the public domain on sourceforge not these zipped files. But I am still testing it should confirm my finding tomorrow when I go to office.

      Regards
      Rohit

       
  • Anonymous

    Anonymous - 2016-01-18

    Stefan
    I would like to confirm the problem was due to corrupted windows file rather than the software malfunctioning. Apologies for raising this issue.

    Regards
    Rohit K

     
  • Stefan Zieker

    Stefan Zieker - 2016-01-18

    Hi Rohit,

    no problem. If you see any other possible bug post again.

    Best regards,
    Stefan

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.