Re: Interface selection

2005-03-25 Thread Serge Orlov
[EMAIL PROTECTED] wrote: > Actually its not a server. I dont do any binding call, just a connect. Bind is not only for server sockets. Googling for "bind client socket" reveals an example: http://woozle.org/~neale/papers/sockets.html Serge. -- http://mail.python.org/mailman/listinfo/python-li

Re: Interface selection

2005-03-25 Thread Diez B. Roggisch
[EMAIL PROTECTED] wrote: > Actually its not a server. I dont do any binding call, just a connect. Then where is your problem? The two interfaces have been assigned distinct IPs, so connect to the appropriate one. -- Regards, Diez B. Roggisch -- http://mail.python.org/mailman/listinfo/python-l

Re: Interface selection

2005-03-25 Thread ias0nas
Actually its not a server. I dont do any binding call, just a connect. -- http://mail.python.org/mailman/listinfo/python-list

Re: Interface selection

2005-03-25 Thread Diez B. Roggisch
[EMAIL PROTECTED] 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