Server socket and socket objects

To enable ABL applications to access sockets, ABL supports two types of objects:

  • Server socket objects — An ABL object that a socket server creates only to listen for client connection requests. An ABL socket server receives notification of client connections in the form of events.

    For more information, see Server socket object handle in the ABL Reference.

  • Socket objects — An ABL object that represents a TCP/IP socket. TCP/IP sockets are the communication endpoints of a connection. Both socket clients and servers use socket objects to read and write data on a connection. In ABL, a socket application can detect the arrival of data on a socket in the form of events. (However, this is not required.)

    For more information, see Socket object handle in the ABL Reference.