| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-and-python mailing list Archives
Re: pyCurl : get IP address of the peer socket
From: Mark Eichin <eichin_at_gmail.com>
Date: Mon, 8 Sep 2008 22:59:34 -0400
Haven't tried it, but it looks like calling socket.fromfd on that
---------- Forwarded message ----------
Hi List,
I'd like to know how to get the "IP address" of the peer socket when
After a bit of googling, I found this:
But it's seems to only return a socket file descriptor which is an integer.
ipaddr, port = sock . getpeername()
Advices please?
Thanks in advance
cheers
-- _Mark_ <eichin_at_thok.org> <eichin_at_gmail.com> _______________________________________________ http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-pythonReceived on 2008-09-09 These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info