Interface TCPSocket
access this type via: net.TCPSocket (provides, requires or uses)
Communicate over the TCP network protocol. New connections can be established either using 'connect' (for a client) or by using 'accept' (for a server, in conjunction with a TCPServerSocket instance).
Functions
bool connect(char address[], int port)
void disconnect()
bool connect(char address[], int port)
Connect to the given TCP server.
Establish a TCP connection by accepting a new client via a TCP server socket.
void disconnect()
Disconnect (terminate) this TCP connection.
Get the endpoint details of the remote end of this TCP connection.
Get the endpoint details of the local end of this TCP connection.