I've a problem with receiving data on my PC by TCP and UDP. I can send data to another computer, but can't receive it.
I'm not shure where is the problem (on PC or on "another comupers")
This is client code:
;TCP client
TCPStartup()
$socket = TCPConnect("192.168.0.18", 7777) ;try to connect to server and save number of socket
If $socket = -1 Then ;if $socket = -1 then error
MsgBox(16, "Error:", "Can't connect to server")
EndIf
$sendedBytes = TCPSend($socket, "nothing here :)") ;send message to connected socket
If $sendedBytes