I tried doing an TCP listener:
Code:
TCPStartup() $ip = "195.143.118.113" $port = "4217" Global $TCPL = TCPListen($ip, $port) Do Global $TCPA = TCPAccept($TCPL) Until $TCPA <> -1 Do Global $TCPR = TCPRecv($TCPA, 9999999) Until $TCPR <> "" MsgBox(0, "Data", $TCPR)
Code:
TCPStartup() $ip = "195.143.118.113" $port = "4217" Global $tcp = TCPConnect($ip, $port) TCPSend($tcp, '{"type":"conn","data":{"cmd":"hello"}}')
Link to the game:
Sourcecode of the game:
Edit: It seems that the sender actually works, but the server is not responding for some reason.