z/OS Communications Server: IP Sockets Application Programming Interface Guide and Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


sock_debug()

z/OS Communications Server: IP Sockets Application Programming Interface Guide and Reference
SC27-3660-00

The sock_debug() call provides the socket library tracing facility. The onoff parameter can have a value of 0 or nonzero. If onoff=0 (the default), no socket library tracing is done. If onoff=nonzero, the system traces for socket library calls and interrupts.
Note: You can include the statement SOCKDEBUG in data set TCPIP.DATA as an alternative to calling sock_debug() with onoff not equal to 0.
#include <manifest.h>
#include <socket.h>
 
void sock_debug(init onoff)
Parameter
Description
onoff
A parameter that can be set to 0 or nonzero

Related calls

accept(), close(), connect(), socket()

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014