Set the method of shutting down a socket
#include <sys/dcmd_ip.h> #define DCMD_IP_SHUTDOWN __DIOT(_DCMD_IP, 0x05, uint32_t)
| Argument | Value |
|---|---|
| filedes | A descriptor for a socket. |
| dcmd | DCMD_IP_SHUTDOWN |
| dev_data_ptr | A pointer to a uint32_t |
| n_bytes | sizeof(uint32_t) |
| dev_info_ptr | NULL |
This command sets the method of shutting down a socket. Clients usually use shutdown() to generate this request.
The method you want to use; one of:
None.
devctl(), shutdown() in the QNX Neutrino C Library Reference