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

Method peer

src/socket.cpp:125–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123
124
125Try<Address> SocketImpl::peer() const
126{
127 // TODO(benh): Cache this result so that we don't have to make
128 // unnecessary system calls each time.
129 return network::peer(get());
130}
131
132
133Try<Address> SocketImpl::bind(const Address& address)

Callers 6

receiveFunction · 0.45
receiveFunction · 0.45
ignore_recv_dataFunction · 0.45
synchronizedFunction · 0.45
_sendFunction · 0.45
TEST_FFunction · 0.45

Calls 2

peerFunction · 0.85
getFunction · 0.85

Tested by 1

TEST_FFunction · 0.36