id summary reporter owner description type status milestone component version severity resolution keywords cc 3575 TCP functions slow and TCPCloseSocket with shutdown ripdad Jon "Here is a list of problems that I found with TCP in AutoIt, using v3.3.10 through v3.3.15, while transferring a 10mb string with TCPSend to TCPRecv. Please keep in mind, these are my observations using computers available to me and I have yet to test it on Windows 10. But be patient, it will come around eventually. 1. TCPRecv will not detect a TCPSend -> TCPCloseSocket. It will detect a TCPShutdown. But, not if TCPCloseSocket is used first. 2. TCPAccept speed is about 108ms, while v3.3.8.1 is about 15ms. 3. TCPSend speed is about 200 to 650ms, while v3.3.8.1 is about 28 to 90ms. The higher the string is in size, the more exponential the time becomes. This leads to an unresponsive GUI. Note: I don't believe TCPSend is the problem, because I can use v3.3.8.1 to send and v3.3.14 to receive and it still has the same results. Yet, TCPRecv speed is about ~1ms. So, I don't know what's going on here. 4. When TCPSend is paused, TCPRecv speed is about 108ms, while v3.3.8.1 is about 15ms. Note: This test simulates a delay on a server, which can be up to 10 seconds or more. 5. Completion time of the 10mb string is about 28 to 64 seconds and v3.3.8.1 is about 7 to 10 seconds, depending on what computer is used for the test. In conclusion, the TCP functions do indeed work, with the exception of #1. This is about timing issues within the code. The major issue is #3 - but all these problems combined just makes it worse. It does seem to me, that a 100ms timer is in place with each of these functions, or possibly something that is common to all of them. If this is true, then it should not be any more than 10ms or none at all. I don't know if fixing that would solve it all, but it's worth a shot in my opinion. You should have a way to benchmark TCP response times, to verify my statements. The other TCP functions seem to be working fine. (ie: TCPConnect, TCPListen, etc.) " Bug assigned AutoIt 3.3.14.2 None