Looking for Python equivelent

Michael Hudson mwh21 at cam.ac.uk
Thu Feb 24 12:28:20 EST 2000


"Lenny Self" <lenny at squiggie.com> writes:

> Hello.
> 
>  I am attmpting to find the Python equivelent for these calls in C++
> 
> inet_addr()  and   inet_ntoa()
> 
> Basically, I am attmepting to decode a string (in Python) that was encoded
> via the first of the two functions above.  I have been told that the second
> function will decoding if I were using C++.
> 
> If anyone can point me in the right direction I would greatly appriciate it.
> 

socket.inet_aton & socket.inet_ntoa ?

HTH,
Michael

-- 
very few people approach me in real life and insist on proving they are
drooling idiots.                         -- Erik Naggum, comp.lang.lisp



More information about the Python-list mailing list