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

Question about TCPRcv&TCPSend

$
0
0
Hello, i was exploring the help file and i found this two commands TCPRecv&TCPSend .. and i have a little question:

[ autoit ]      
TCPRecv( mainsocket, maxlen [, flag] )

in the example of this command
[ autoit ]      
$Tcprcv = TCPRecv($ConnectedSocket, 2048)
what that mean the max chars will be received is 2048 ?
is that mean that the letters\numbers will be maxed 2048 ? like "t2t2t2t2t2t2t2" to 2048 char? or the file size is 2048KB max?
also, can i make this value like 99,999,999 or whatever i want? ?

And for "TCPSend" to send Msg\File, it must be maxed\limited as $Tcprcv or what?.


any help would be appreciated. :)


EDIT: what if i want to send exe\rar file ??  FileOpen( name, [, mode]) what mode do i need to write the file in receiver?
thanks..

Viewing all articles
Browse latest Browse all 12506

Trending Articles



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