boost::corosio::shutdown_type

Different ways a socket may be shutdown.

Synopsis

enum shutdown_type;

Description

Used by tcp_socket, local_stream_socket, and local_datagram_socket to specify the direction of communication to disable.

The enumerator values match the POSIX SHUT_RD / SHUT_WR / SHUT_RDWR convention (0, 1, 2).

Members

Name

Description

shutdown_receive

Disable further receive/read operations.

shutdown_send

Disable further send/write operations.

shutdown_both

Disable both send and receive operations.

Created with MrDocs