Friday, January 27, 2012

ipaddress

Hi all,

First am sorry ,its a python specific question not django based.
 I am developing a mobile application, using  python in server side. I want to get user's ipaddress(Now user's request not sending ipaddress as a parameter to my server). I am using cherrypy server , Now I take IPaddress using following code,
   ipaddress = cherrypy.request.remote.ip
  I have a doubt whether this generate an ipaddress in the form  xx.0.0.0/32   ( a private range ).?
Thanks

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment