MOON
Server: Apache/2.2.34 (Unix) mod_ssl/2.2.34 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 FrontPage/5.0.2.2635
System: Linux server.asjudinet.com 2.6.32-042stab141.3 #1 SMP Fri Nov 15 22:45:34 MSK 2019 i686
User: asjudine (504)
PHP: 5.2.17
Disabled: NONE
Upload Files
File: //usr/local/ssl/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