Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

local::stream_protocol

Encapsulates the flags needed for stream-oriented UNIX sockets.

class stream_protocol
Types

Name

Description

acceptor

The UNIX domain acceptor type.

endpoint

The type of a UNIX domain endpoint.

iostream

The UNIX domain iostream type.

socket

The UNIX domain socket type.

Member Functions

Name

Description

family

Obtain an identifier for the protocol family.

protocol

Obtain an identifier for the protocol.

type

Obtain an identifier for the type of the protocol.

The local::stream_protocol class contains flags necessary for stream-oriented UNIX domain sockets.

Thread Safety

Distinct objects: Safe.

Shared objects: Safe.

Requirements

Header: boost/asio/local/stream_protocol.hpp

Convenience header: boost/asio.hpp


PrevUpHomeNext