DCMD_IP_FDINFO

Get information about a socket

Synopsis:

#include <sys/dcmd_ip.h>

#define DCMD_IP_FDINFO          __DIOF(_DCMD_IP, 0x06, char)

Arguments to devctl():

Argument Value
filedes A descriptor for a socket.
dcmd DCMD_IP_FDINFO
dev_data_ptr A pointer to a character buffer
n_bytes The size of the buffer
dev_info_ptr NULL

Description:

This command gets some information about a socket. This information depends on the protocol used.

Input:

None.

Output:

The information about the socket.

See also:

devctl() in the QNX Neutrino C Library Reference