SimpleTCP icon indicating copy to clipboard operation
SimpleTCP copied to clipboard

Message.Reply adding bytes at the end

Open fabs-rodriguez opened this issue 7 years ago • 3 comments

Quick question. If I send a TCP message from computer A to computer B (which has the SimpleTCP app), and then on computer B, I reply to this message as follows:

message.Reply("12345");

I've realized that if I wait longer than about 450 milliseconds after receiving the data to reply, the reply does not make it through to the originator. I'm using Packet Sender to send and receive TCP data on Computer A. It appears like there are always two replies to the message sent from Computer A. However, only if Computer B replies within about 450 ms will this message make it back to computer A.

Any ideas?

fabs-rodriguez avatar Sep 06 '17 13:09 fabs-rodriguez

In short, if SimpleTCP does not reply to a message within about 450ms - from what I can see on Packet Sender - the reply does not make it back to the sender...

fabs-rodriguez avatar Sep 06 '17 13:09 fabs-rodriguez

That doesn't seem right. Can you paste the server side code?

BrandonPotter avatar Sep 06 '17 14:09 BrandonPotter

I just ended up setting the string to the substring of the message - whatever, or if it's the same characters, just remove them if it ends with the characters.

elitefuture avatar Sep 24 '17 05:09 elitefuture