Andrew wrote: > Hi > > Are these functions (inet_ntop(), inet_pton()) from the socket library > supported on Windows. > > If not is there an equivalent for them using Windows > > Ive seen mention of people creating their own in order to use them > > Appreciate the help > > ty
Why didn't you just try: [E:\Projects]python Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import socket >>> socket.inet_aton("127.0.0.1") '\x7f\x00\x00\x01' >>> socket.inet_ntoa(_) '127.0.0.1' >>> This is on windows xp. --Irmen -- http://mail.python.org/mailman/listinfo/python-list