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 hostname which the binded
The port number which the socket is binded
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 can't be sent
function close() returns Error?
() or else a tcp:Error if the connection can't be properly