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


Allocating a socket in a client program

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

From their own perspective, clients must first issue the socket() call to allocate a socket from which to communicate as follows:
s = socket(AF_INET, SOCK_STREAM, 0);

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014