Represents caller object in tcp service remote methods.
Sends the response as byte to the same remote host.
Close the remote connection.
The hostname or the IP address of the remote host
The port number of the remote host
The bound hostname
The port number to which the socket is bound
function writeBytes(byte[ ] data) returns Error?
The data need to be sent to the remote host
() or else a tcp:Error if the given data cannot be sent
function close() returns Error?
() or else a tcp:Error if the connection cannot be properly