WSACONNREFUSED

  • Thread starter Thread starter ramchandra_phadake
  • Start date Start date
R

ramchandra_phadake

Hi,

I have two simple socket TCP C/S programs.
The client is multithreaded & it just connects to the
server socket in multiple threads.CLient just connects as
fast as possible.Server accepts the requests &
says "Hello".

Now the problem is after 15 threads I get a
WSACONNREFUSED.On 2k Server it goes ahead but the error
comes back with @ 100/150 thareds.

I have tried WSAXXX functions,changed listen parameter to
a big number,SOMAXCONN & what not but still the same error
is there.

Let me know if this issue is limitation of win2k OS.As
things are getting complex I may have to give the
resolution to this problem very fast.

Please Help.

-Ram
 
Check out MS KB article Q127144...it's for NT4, but the same thing applies
to Windows 2000 Server vs. Professional.


{L}
 
Back
Top