March 2003
Intermediate to advanced
656 pages
39h 30m
English
getpeername
s.getpeername( )Returns a pair
(
ipaddr,port
),
giving the IP address and port number of the counterpart.
s must be connected, either because you
called s
.connect or
because s was generated by another
socket’s accept method.
Read now
Unlock full access