Package dns :: Module ipv4
[hide private]
[frames] | no frames]

Module ipv4

source code

IPv4 helper functions.

Functions [hide private]
 
inet_ntoa(address)
Convert an IPv4 address in network form to text form.
source code
 
inet_aton(text)
Convert an IPv4 address in text form to network form.
source code
Variables [hide private]
  __package__ = 'dns'
Function Details [hide private]

inet_ntoa(address)

source code 

Convert an IPv4 address in network form to text form.

Parameters:
  • address (string) - The IPv4 address
Returns:
string

inet_aton(text)

source code 

Convert an IPv4 address in text form to network form.

Parameters:
  • text (string) - The IPv4 address
Returns:
string