Re: How set the source IP adress

2006-10-27 Thread Grant Edwards
On 2006-10-27, Grant Edwards <[EMAIL PROTECTED]> wrote: > On 2006-10-27, Irmen de Jong <[EMAIL PROTECTED]> wrote: > >>> how to set source ip-address when do __socket.connect((host, port)) >>> on a machine that have a several ip-adresses? >>> >>> __socket = socket.socket(socket.AF_INET, socket.SOCK

Re: How set the source IP adress

2006-10-27 Thread Grant Edwards
On 2006-10-27, Irmen de Jong <[EMAIL PROTECTED]> wrote: >> how to set source ip-address when do __socket.connect((host, port)) >> on a machine that have a several ip-adresses? >> >> __socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) >> __socket.connect((host, port)) > > sock.connect ( (

Re: How set the source IP adress

2006-10-27 Thread Irmen de Jong
Maksim Kasimov wrote: > Hi, > > how to set source ip-address when do __socket.connect((host, port)) > on a machine that have a several ip-adresses? > > many thanks for advice. > > __socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) > __socket.connect((host, port)) > > sock.connect (

How set the source IP adress

2006-10-27 Thread Maksim Kasimov
Hi, how to set source ip-address when do __socket.connect((host, port)) on a machine that have a several ip-adresses? many thanks for advice. __socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) __socket.connect((host, port)) -- Maksim Kasimov -- http://mail.python.org/mailman/listin