Hey xD, for a long time i've been wanting to understand Au3's TCP and i havn't rly understood it, but earlier today i read alot in the forum and now i think i've figure'd out how it works but my script ain't working for some reason??
Server:
Dim $user[101]
$user[0] = 1
TCPStartup()
$socket = TCPListen("127.0.0.1",6162)
If $socket = -1 Then
MsgBox(0,"Error","You fail!")
Exit
EndIf
While 1
If $user[$user[0]] = -1 Then
$user[$user[0]] = TCPAccept($socket)
If $user[$user[0]]