Binding socket to an address

Morten W. Petersen morten at
Sat Jun 14 02:57:17 CEST 2003

"Gisle Vanem" <giva at> wrote:

 > Godag. What do you need the bind() for? Looks like you're making
 > a client-program. If you'd made a server program, you need bind() and
 > listen().

It's a client program.  :)

The program is run on a server with multiple IPs, and I want it to
originate from a specific IP address.


Morten W. Petersen

Technologies: Zope, Linux, Python, HTML, CSS, PHP
Phone number: (+47) 45 44 00 69

More information about the Python-list mailing list