MCPcopy Create free account
hub / github.com/3rdparty/libprocess / address

Method address

src/socket.cpp:117–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115
116
117Try<Address> SocketImpl::address() const
118{
119 // TODO(benh): Cache this result so that we don't have to make
120 // unnecessary system calls each time.
121 return network::address(get());
122}
123
124
125Try<Address> SocketImpl::peer() const

Callers

nothing calls this directly

Calls 2

getFunction · 0.85
addressFunction · 0.70

Tested by

no test coverage detected