Connects and communicates with remote TCP/IP sockets.
Result = SRP_TcpClient(Service, Object, Param1, Param2)
The meaning of the return value depends on the service.
|Service||The action to be performed against a remote socket. Required.|
|Object||The TcpClient object against which the service will perform. Required.|
|Param1-N||The service parameters. Optional. See Remarks for details.|
The SRP_TcpClient connects to remote sockets and passes data to them.
The SRP_TcpClient provides the following services:
|CONNECT||Connects to a remote listening socket.|
|CLOSE||Closes a connection.|
|SEND||Sends data through the connection.|
|RECEIVE||Receives data through the connection.|
|CLOSE_SES||Closes a connection to the SRP Engine Service.|
|SEND_SES||Sends data through the connection to the SRP Engine Service.|
Click on the service names above to read more details. Continue below for an explanation of the Key parameter.
The object parameter is a handle to a connection. The CONNECT creates the handle and all other services use it for communication.
The remaining parameters are unique to each service. Click on the service above to get details on the expected parameters.