C# Socket.Listen(MAX_CONNECTIONS);
i need some help with socket.listen.

my max_connections is set to 1. but even after a client is connected if another client tries to connect, on the client side it says it has connected although the server does not report anything new.

my app is between one server and one client. and if any other client tries to connect while there is already a connection i want that connect to be refused.

please help with some ideas.

thank you very much.
C# Socket.Listen(MAX_CONNECTIONS);
===

i need some help with socket.listen.

my max_connections is set to 1. but even after a client is connected if another client tries to connect, on the client side it says it has connected although the server does not report anything new.

my app is between one server and one client. and if any other client tries to connect while there is already a connection i want that connect to be refused.

please help with some ideas.

thank you very much.