PyDocs

Nav

Networking and Interprocess Communication

inet_ntop

socket

functionUnixWindows
  • inet_ntop(address_family, packed_ip)
inet_ntop(af, packed_ip) -> string formatted IP address

Convert a packed IP address of the given family to string format.
Changed in 3.4, 3.5
  • 3.4: Windows support added
  • 3.5: Writable bytes-like object is now accepted.
0 Examples
No examples for socket/inet_ntop.
See Also
No see-alsos for socket/inet_ntop
0 Notes
No notes for inet_ntop