Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boostorg/asio
/ protocol
Method
protocol
include/boost/asio/generic/stream_protocol.hpp:85–88 ·
view source on GitHub ↗
Obtain an identifier for the protocol.
Source
from the content-addressed store, hash-verified
83
84
/// Obtain an identifier for the protocol.
85
int protocol() const noexcept
86
{
87
return protocol_;
88
}
89
90
/// Obtain an identifier for the protocol family.
91
int family() const noexcept
Callers
1
stream_protocol
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected