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


getdtablesize()

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

The TCPIP address space reserves a fixed-size table for each address space using sockets. The size of this table equals the number of sockets an address space can allocate simultaneously. The getdtablesize() call returns the maximum number of sockets that can fit in the table.

To increase the table size, use maxdesc(). After calling maxdesc(), always use getdtablesize() to verify the change.

#include <manifest.h>
#include <socket.h>
int getdtablesize()

Parameters

None

Related calls

maxdesc()

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014