MCPcopy Index your code
hub / github.com/Bitmessage/PyBitmessage / getpeername

Method getpeername

src/socks/__init__.py:302–307  ·  view source on GitHub ↗

getpeername() -> address info Returns the IP address and port number of the destination machine (note: getproxypeername returns the proxy)

(self)

Source from the content-addressed store, hash-verified

300 return _orgsocket.getpeername(self)
301
302 def getpeername(self):
303 """getpeername() -> address info
304 Returns the IP address and port number of the destination
305 machine (note: getproxypeername returns the proxy)
306 """
307 return self.__proxypeername
308
309 def getproxytype(self):
310 return self.__proxy[0]

Callers 3

__init__Method · 0.80
__init__Method · 0.80
getproxypeernameMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected