MCPcopy Create free account
hub / github.com/apache/thrift / getPeerPort

Method getPeerPort

lib/cpp/src/thrift/transport/TSocket.cpp:929–932  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

927}
928
929int TSocket::getPeerPort() const {
930 getPeerAddress();
931 return peerPort_;
932}
933
934void TSocket::setCachedAddress(const sockaddr* addr, socklen_t len) {
935 if (isUnixDomainSocket()) {

Callers 1

getHandlerMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected