6.3.1 TCP Client Operation
The following figure shows the flow for transferring data with a TCP client.
Note:
- The host application must
register a socket notification callback function. The function must be of
tpfAppSocketCbtype and must handle socket event notifications appropriately. - If the client knows the IP of
the server, it may call
connectdirectly as shown in the figure above. If only the server URL is known, then the application must resolve the server URL first calling thegethostbynameAPI.
