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

TCPStartup() not receiving all the data.

$
0
0
I'm using something like this...
[ autoit ]      
 TCPStartup() Local $ConnectedSocket, $szData ;Local $szIPADDRESS = @IPAddress1 Local $szIPADDRESS = TCPNameToIP ( $_MonitorNameIP ) Local $nPORT = 65534 $ConnectedSocket = -1 $ConnectedSocket = TCPConnect($szIPADDRESS, $nPORT) If @error Then FileWriteLine(@ScriptDir & "\Errors.log","TCPConnect failed with WSA error: " & @error) Else $szData = $_SendData ;if $szData = "" then _GoConnect() TCPSend($ConnectedSocket, StringToBinary($szData, 4)) EndIf
to send data. It is sending, but not all of it. the variable $_SendData I guess does get pretty big. I'm wondering if I'm hitting some sort of variable size limit or a TCP send limit or something. And if anyone knows of a work around.

Viewing all articles
Browse latest Browse all 12506

Trending Articles



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