On 09/23/2011 01:15 AM, Cheeyung wrote:
I'm creating a mobile application and I'm using python for a desktop
server. However, I don't have access to a static IP on the desktop,
but do have a website. Is it possible to connect from mobile -> http
website -> desktop server and back?
What kind of (python) libraries/functions am I looking for?
As you can see, I'm completely clueless about where to begin. If
someone could recommend a resource to learn network programming, that
would be great too!
Thanks!
CY
_
Run ifconfig as an external process, and parse the output to find your
IP address(es). Maybe that'll get you started. (if you're on Windows,
it'll be called ipconfig instead, and is formatted somewhat differently)
--
DaveA
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor