Implementing an ABL socket client

This section describes how to implement an ABL socket client.

To implement a socket client:

  1. Create a socket object using the CREATE SOCKET statement.
  2. Connect the socket object to the host and listening port of a socket server using the CONNECT( ) method on the socket handle.
  3. Read and write data on the socket and otherwise manage the socket.

    The tasks required to read and write data on a socket and to manage the socket are identical for both socket clients and socket servers. For more information, see Read, writing, and managing sockets on clients and servers.