Re: Determin network interface

2006-10-03 Thread jakobsg
Thanks a bunch! That is just what I was looking for !

Best regards Jakob

Bryan Olson skrev:
 [EMAIL PROTECTED] wrote:
  Hi. How can I determin the hwaddr or ipaddress of the networkinterface
  that is used in an outgoing connection?

 Is sock_object.getsockname() enough?

  http://docs.python.org/lib/socket-objects.html
 
 
 -- 
 --Bryan

-- 
http://mail.python.org/mailman/listinfo/python-list


Determin network interface

2006-10-02 Thread jakobsg
Hi. How can I determin the hwaddr or ipaddress of the networkinterface
that is used in an outgoing connection? I need a kind of traceroute in
python or lowlevel socket function that can help me find out which one
of my hosts networkinterfaces that is actually used or going to be used
to reach a certain remote host. Can I do this?

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Determin network interface

2006-10-02 Thread Bryan Olson
[EMAIL PROTECTED] wrote:
 Hi. How can I determin the hwaddr or ipaddress of the networkinterface
 that is used in an outgoing connection?

Is sock_object.getsockname() enough?

 http://docs.python.org/lib/socket-objects.html


-- 
--Bryan
-- 
http://mail.python.org/mailman/listinfo/python-list