home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2009 June / maximum-cd-2009-06.iso / DiscContents / digsby_setup.exe / lib / dns / ipv4.pyo (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2009-02-26  |  473 b   |  17 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyo (Python 2.5)
  3.  
  4. import socket
  5. import sys
  6. if sys.hexversion < 33751040 or sys.platform == 'win32':
  7.     
  8.     def inet_aton(text):
  9.         if text == '255.255.255.255':
  10.             return '\xff\xff\xff\xff'
  11.         else:
  12.             return socket.inet_aton(text)
  13.  
  14. else:
  15.     inet_aton = socket.inet_aton
  16. inet_ntoa = socket.inet_ntoa
  17.