× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



> Is there anything else that can cause this error?  I have the
> backlog parameter set to 400 with 1000 clients running this application.
> It doesn't seem likely that it would exceed a backlog of 400.

Seems to me that you probably want to set the backlog to 1000. Maybe I'm
just confused, but if you have 1000 clients, it would seem weird to set a
400 client limit.

You get a "connection refused" message whenever the system isn't
listening.  So, like you said, filling up the backlog would do it.  Also,
if there's no socket listening, you'd get the error.  (For example, if you
close() the listener socket, or if the program isn't running...)

It's also possible (but unusual) for a firewall to issue this message when
it's blocking a port.

> Is there any way I can see what is happening on the host besides adding
> logging to my listener program?  Thanks.

Run a network sniffer, or communications trace type of thing...  But I
don't really think that'll tell you anything.  What you'll find out is
that an ICMP message is sent back that says "connection refused" -- not
very helpful, you already know that!

You could also use NETSTAT on the host to see how many connections are
active at the time that this happens.  My guess is it's happening when you
hit the 401st active connection.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.