MCPcopy Create free account
hub / github.com/apache/mesos / peer

Method peer

3rdparty/libprocess/src/socket.cpp:134–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132
133
134Try<Address> SocketImpl::peer() const
135{
136 // TODO(benh): Cache this result so that we don't have to make
137 // unnecessary system calls each time.
138 return network::peer(get());
139}
140
141
142Try<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.70

Tested by 1

TEST_FFunction · 0.36