Creates an instance of the TcpComm class wiht the specified information.
The IP address.
The port number.
Gets or sets the size of the receive buffer, in bytes. Default value is 8192
Gets or sets the size of the receive buffer, in bytes. Default value is 8192
Gets or sets the milliseconds to wait to receive data once a read operation is initiated. Default value is 1000
Gets or sets the milliseconds to wait to receive data once a read operation is initiated. Default value is 1000
Closes the TCP connection
Connects to a TCP host using the specified IP address and port number.
Occurs when communication is close.
The callback function
Occurs when data is received.
The callback function
Occurs when an error is thrown.
The callback function
Sends the specified string to the TCP host.
The string to send to the TCP host.
It represents a TCP comm at the client side.