Binding socket to an address

Morten W. Petersen morten at nidelven-it.no
Fri Jun 13 20:57:17 EDT 2003


"Gisle Vanem" <giva at users.sourceforge.net> 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.

Regards,

Morten W. Petersen

--
Technologies: Zope, Linux, Python, HTML, CSS, PHP
     Homepage: http://www.nidelven-it.no
Phone number: (+47) 45 44 00 69






More information about the Python-list mailing list