Python - IP as int variable

02/15/2013 19:45 xyfz#1
Hey,

I wanna get the ip from user input in python.
I need it for this:

Code:
s.sendto(data,(HOST,PORT))
dont know how to get the ip as int from user input. tried converting it but it wont work.

do you guys have any idea how to store an ip address in a variable to use it for sock.sendto()

solved();

if I write the ip in the user input in quotes it works.