Real-time NMI: Connecting to the server

The application that is to use one of the interfaces must connect to the appropriate AF_UNIX stream socket provided by TCP⁄IP, which acts as the server. The socket path names for each of these interfaces are as follows. For each of the following, tcpipprocname is the procedure name used to start TCP⁄IP.
  • Network monitor interface for capturing packet and data trace packets (SYSTCPDA)
    /var/sock/SYSTCPDA.tcpipprocname
  • Network monitor interface for obtaining TCP connection information (SYSTCPCN)
    /var/sock/SYSTCPCN.tcpipprocname
  • Network monitor interface for capturing OSAENTA trace packets (SYSTCPOT)
     /var/sock/SYSTCPOT.tcpipprocname
  • Network monitor interface for obtaining real-time SMF data (SYSTCPSM)
    /var/sock/SYSTCPSM.tcpipprocname
  • Network monitor interface for obtaining zERT connection detail information (SYSTCPER)
    /var/sock/SYSTCPER.tcpipprocname
  • Network monitor interface for obtaining zERT summary information (SYSTCPES)
    /var/sock/SYSTCPES.tcpipprocname

Use either the z/OS® XL C/C++ API or the z/OS UNIX System Services assembler callable services to open AF_UNIX sockets and connect to the given service.