6.14. boing.net.ip — IP utilities

The module boing.net.ip provides few functions related to IP addressing.

boing.net.ip.resolve(addr, port, family=0, type=0)

Return a pair (addr, port) representing the IP address associated to the host host for the specified port, family and socket type.

boing.net.ip.addrToString(addr)

Return a string representing the QHostAddress addr.

Previous topic

6.13. boing.net.pickle — Python pickle encoding

Next topic

6.15. boing.net.tcp — TCP utilities