Roshith 1 Posted January 10, 2011 Hi, I come accross a problem while sending data via TCP. I have no idea why. I'm running the script which is in TCPRecv() help example on Machine A. And I run another script from Machine "B" to send data to Machine A using TCPConnect("A's ipaddress", 33891) and TCPSend($connectedSocket, "Data"). Since Machine A & B are on the same LAN, 95 % of the time, the message is received. But When I try sending the message from Machine B to Machine C which is located in another country, many times It get stuck with the @error from TCPRecv() function. But ConnectedSocket returned its value. And a very few times, the data is received. I understand this is not a problem with the script. But Am, I missing something? Or is this due to packet loss, if so , is there any way to make this reliable? Also, I have no idea how TCP work. Any help on this will be very helpful Thanks in advance Roshith Share this post Link to post Share on other sites
computergroove 33 Posted January 11, 2011 Sounds like a firewall to me. If it is then you need to open a port in your firewall. Maybe on your side or the other computer. Get Scite to add a popup when you use a 3rd party UDF -> http://www.autoitscript.com/autoit3/scite/docs/SciTE4AutoIt3/user-calltip-manager.html Share this post Link to post Share on other sites
Roshith 1 Posted January 11, 2011 How do we open up a port in the firewall? Share this post Link to post Share on other sites