MCPcopy Create free account
hub / github.com/boostorg/asio / raw_protocol

Method raw_protocol

include/boost/asio/generic/raw_protocol.hpp:55–59  ·  view source on GitHub ↗

Construct a protocol object for a specific address family and protocol.

Source from the content-addressed store, hash-verified

53public:
54 /// Construct a protocol object for a specific address family and protocol.
55 raw_protocol(int address_family, int socket_protocol)
56 : family_(address_family),
57 protocol_(socket_protocol)
58 {
59 }
60
61 /// Construct a generic protocol object from a specific protocol.
62 /**

Callers

nothing calls this directly

Calls 5

typeClass · 0.50
throw_exceptionFunction · 0.50
familyMethod · 0.45
protocolMethod · 0.45
typeMethod · 0.45

Tested by

no test coverage detected