Search the web
Sign In
New User? Sign Up
libsocket · libsocket is a library for DJGPP, the DO
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Re: [Fwd: [libsocket] Limitation for the number of incoming connect   Message List  
Reply | Forward Message #397 of 491 |
Hello.

Bauce wrote:
> My question was actually: Is there a limit for the number of incoming
> connections that can be accepted on a socket (number of clients on a
> server)?

Well, the maximum number of connections that can be accepted is limited to
the number of sockets that can be created, less one, since you need one
socket to do accept() on. Hence, if you use Winsock 2, the limit is 30,
because of limitations in SOCK.VXD. For Winsock 1.x the limits is higher
(a few hundred?). So, you are limited to around 30. This limit is per DOS
box, so you could get more connections if you run multiple server
programs.

> Have a nice day.

Thanks, you too!

Hope that helps, bye, Rich =]

--
Richard Dawe
[ mailto:richdawe@... | http://www.bigfoot.com/~richdawe/ ]



Fri Aug 18, 2000 10:45 pm

rich@...
Send Email Send Email

Forward
Message #397 of 491 |
Expand Messages Author Sort by Date

Hello. ... Well, the maximum number of connections that can be accepted is limited to the number of sockets that can be created, less one, since you need one ...
Richard Dawe
rich@...
Send Email
Aug 18, 2000
10:56 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help