Connecting to the AF_UNIX stream socket

The Communications Server TCP⁄IP stack provides an AF_UNIX stream socket for each of the interfaces (see Table 2). The interfaces can be used by one or more applications to receive notifications for the data that is being collected. The TCP⁄IP stack acts as the server for these AF_UNIX stream sockets, performing the listen() function call and waiting for incoming connection requests. To use the interface, applications connect to the listening socket. Each interface has a distinct AF_UNIX path name that uniquely identifies the socket that the interface will use. The network management application can connect to one or more interfaces from the same application.
  • If the application connects to the SYSTCPDA, SYSTCPOT, or SYSTCPSM interface, it immediately starts receiving applicable data.
  • If the application connects to the SYSTCPCN , SYSTCPER or SYSTCPES interface, it must send a connection request record to the server to indicate the type of data it requires. See the client request record in Real-time NMI: Requests sent by the client to the server for details on this record. Then, the application starts receiving applicable data.