On 06-13-2003 at 14:06 EDT, Tim Legant <[EMAIL PROTECTED]> wrote:

> Obviously, any machine can have more than one IP address.  Here's how
> to get the one associated with the machine's hostname.
> 
> import socket
> ADDED_HEADERS_CLIENT = {
>     "X-Originating-IP" : socket.gethostbyname(socket.gethostname())
>     }

Lovely Tim, thanks!!!

Cheers,


-- 
David Collantes - College of Business Administration, UCF
Please do not forward, Cc or Bcc this email to anyone without my consent.
This email was meant for you and no one else, unless othewise specified.

_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to