Interface selection

Diez B. Roggisch deetsNOSPAM at web.de
Fri Mar 25 07:59:50 EST 2005


ias0nas at lycos.com wrote:

> Hello,
> 
> How can I select on wich interface a socket will connect to?
> Say I have a pc with one network card and a 56K modem, how can I select
> on wich interface will the socket connect?

you need to specify the ip address that interface has been assigned to in
the bind-call.
-- 
Regards,

Diez B. Roggisch



More information about the Python-list mailing list