So I searched google and I didn't really find much help with this, and the torque functions guide only has a very limited reference of it, so could someone explain to me how to use a TCPObject to connect to a server, and send and receive packets from a server. (or point me to a guide that will explain how)
So far I assumed this:
$DrenDranChat = new TCPObject();
echo("Hello.");
$DrenDranChat.connect("66.240.176.166:4526");
$DrenDranChat.send("SYJ Hello.");
$DrenDranChat.delete();
echo("Good bye.");
It didn't work.