Why does socket.inet_ntoa returns packed format in python

Posted by sleepy on Stack Overflow See other posts from Stack Overflow or by sleepy
Published on 2010-03-20T00:49:24Z Indexed on 2010/03/20 0:51 UTC
Read the original article Hit count: 257

Filed under:
|

Why does socket.inet_aton returns packed format in python?

If I am storing the IP as integer in Database (mysql), do I have to always extract the integer value or is there any easier way out?

© Stack Overflow or respective owner

Related posts about python

Related posts about ip-address