Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

TCPRecv - not receiving whole string ??

$
0
0
Hi AutoIt, I have a tiny little problem : I created a very basic , simple, and working TCP chat client/server for sending text between each other.
The problem is that sometimes, its just doesn't receives the whole sent string by the client. I mean, If I will send "welcome" string, most of the times receives it all BUT sometimes it will receive it as "elcome".

Does anyone knows what could be the problem ? I will mention that the client that sends the text uses a low-speed internet, but after I have added consoleWrite command to see how many digits is sending the TCPSend when sending the "welcome" string, every time shows it was send 7 digis so its correct , even if the server doesn't receives the whole string :|. I really really don't know what to do :{ What could be the problem , should I let it more to receive whole data in the variable ,with a Sleep command ?

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>