Package dns :: Module ipv6
[show private | hide private]
[frames | no frames]

Module dns.ipv6

IPv6 helper functions.
Function Summary
string inet_aton(text)
Convert a text format IPv6 address into network format.
string inet_ntoa(address)
Convert a network format IPv6 address into text.

Function Details

inet_aton(text)

Convert a text format IPv6 address into network format.
Parameters:
text - the textual address
           (type=string)
Returns:
string
Raises:
dns.exception.SyntaxError - the text was not properly formatted

inet_ntoa(address)

Convert a network format IPv6 address into text.
Parameters:
address - the binary address
           (type=string)
Returns:
string
Raises:
ValueError - the address isn't 16 bytes long

Generated by Epydoc 1.1 on Sun Aug 10 21:36:14 2003 http://epydoc.sf.net