Robert Watson wrote:
> Some of this has to do with limits on the available ancillary ports for
> out-going connections.  Try adding additional IP addresses to the client
> machine, and forcing your client software to use specific IP addresses.

[ ... ]

> Hard-coding local addreses in your
> application overrides that.  I've never tried this (i.e., using multiple
> IPs to get around the TCP/IP limit), so if it doesn't work, let me know.
> In theory, it should.

In fact, though, it doesn't, because inpcb_alloc sucks, and no one
was willing to check in my proposed fix (see -current list archives).

This will not help on FreeBSD, which assumes bound address ports
are allocated out of the INADDR_ANY address (unbound) ports list.
You have to do extra work.  There are 3 "if" tests you have to
work around; binding to a local IP before the connect only works
around one of these.

-- Terry

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to