Sends data on a connected socket.
TCPSend ( mainsocket, data )
If Unicode strings need to be transmitted they must be encoded/decoded with StringToBinary()/BinaryToString().
A test of TCPSend() and TCPRecv() can be launch with the following button :
StringToBinary, TCPConnect, TCPListen, TCPRecv, TCPStartup, TCPTimeout (Option)