DCMD_IP_LISTEN

Listen for connections on a socket, specifying a queue limit

Synopsis:

#include <sys/dcmd_ip.h>

#define DCMD_IP_LISTEN          __DIOT(_DCMD_IP, 0x04, uint32_t)

Arguments to devctl():

Argument Value
filedes A descriptor for a socket.
dcmd DCMD_IP_LISTEN
dev_data_ptr A pointer to a uint32_t
n_bytes sizeof(unint32_t)
dev_info_ptr NULL

Description:

This command indicates a willingness to listen for connections on a socket and specifies a queue limit. Clients usually use listen() to generate this request.

Input:

The limit on the queue.

Output:

None.

See also:

devctl(), listen() in the QNX Neutrino C Library Reference