MOON
Server: Apache
System: Linux vps.thepromohut.com 2.6.18-398.el5 #1 SMP Tue Sep 16 20:51:48 EDT 2014 i686
User: caretrak (507)
PHP: 5.2.10
Disabled: NONE
Upload Files
File: //usr/lib/python2.4/site-packages/dns/inet.pyc
mò
!`Nc@s{dZdkZdkZdkZeiZy
eiZWnej
o
dZnXd„Zd„Z	d„Z
d„ZdS(s*Generic Internet address helper functions.Ni'cCsL|tjotii|ƒSn(|tjotii|ƒSnt‚dS(s*Convert the textual form of a network address into its binary form.

    @param family: the address family
    @type family: int
    @param text: the textual address
    @type text: string
    @raises NotImplementedError: the address family specified is not
    implemented.
    @rtype: string
    N(	tfamilytAF_INETtdnstipv4t	inet_atonttexttAF_INET6tipv6tNotImplementedError(RR((t,/usr/lib/python2.4/site-packages/dns/inet.pyt	inet_pton%s


cCsL|tjotii|ƒSn(|tjotii|ƒSnt‚dS(s/Convert the binary form of a network address into its textual form.

    @param family: the address family
    @type family: int
    @param address: the binary address
    @type address: string
    @raises NotImplementedError: the address family specified is not
    implemented.
    @rtype: string
    N(	RRRRt	inet_ntoataddressRRR(RR((R	t	inet_ntop8s


cCsRytii|ƒ}tSWn1ytii|ƒ}tSWqNt‚qNXnXdS(sáDetermine the address family of a textual-form network address.

    @param text: the textual address
    @type text: string
    @raises ValueError: the address family cannot be determined from the input.
    @rtype: int
    N(	RRRRtjunkRRRt
ValueError(RR((R	taf_for_addressJscCsy7ttii|ƒdƒ}|djo
|djSWnAy*ttii|ƒdƒ}|djSWq{t‚q{XnXdS(sÄIs the textual-form network address a multicast address?

    @param text: the textual address
    @raises ValueError: the address family cannot be determined from the input.
    @rtype: bool
    iiàiïiÿN(tordRRRRtfirstRR(RR((R	tis_multicast\s(t__doc__tsockettdns.ipv4Rtdns.ipv6RRtAttributeErrorR
R
RR(RRR
RR
RRR((R	t?s