Listen for connections on a socket, specifying a queue limit
#include <sys/dcmd_ip.h> #define DCMD_IP_LISTEN __DIOT(_DCMD_IP, 0x04, uint32_t)
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 |
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.
The limit on the queue.
None.