Hello Bart,

Just close the listening socket. If nobody is listening winsock will
give a 10061.

Rgds, Wilfried [TeamICS]

Tuesday, January 22, 2008, 20:19, Bart Thompson wrote:

> I am using a TWSocket in an application where it acts like a server
> socket (using listen and accept).

> I need to return a 10061 (connection refused error) if there are too
> many connections.

> Can anyone tell me how to accomplish this?

> Thanks.

> ======================

> Bart Thompson

> Senior Designer

> Amdocs

> ===========================

> This message and the information contained herein is proprietary
> and confidential and subject to the Amdocs policy statement,
> you may review at http://www.amdocs.com/email_disclaimer.asp

To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to