MUD-Dev
mailing list archive
[ Other Periods
| Other mailing lists
| Search
]
Date:
[ Previous
| Next
]
Thread:
[ Previous
| Next
]
Index:
[ Author
| Date
| Thread
]
fd_set limitations
On Mon, 28 Apr 1997 clawrenc#cup,hp.com wrote:
> >Also, an fd_set holds FD_SETSIZE file descriptors. Is it true that a
> >theroretically infinite number of FDs can be opened by the server,
> >and that I can handle > FD_SETSIZE connections by having some kind
> >of linked list of fd_sets?
>
> Almost always: No. The exceptions are so rare and so limited as to be
> ignorable (certain classes of list based OS'es etc).
Every connected socket uses up a socket descriptor. I think it is common
for FD_SETSIZE to be 256 (it is under GNU, anyway). So how would you be
able to maintain, say, 300 simultaneous connections?
Is this anything to do with port concentrators? I've heard of them, but have
no idea what they are, or what they are used for..
------------------------------------------------------------------------------
T H E F R O N T I E R S P R O J E C T
http://www.uni-corn.demon.co.uk telnet://linux2.cms.shu.ac.uk:9999
I'll stay out of animals' way if they'll stay out of mine
"Hey you, get off my plate"
- Thread context:
- Re: MUD languages,
Chris Gray cg#ami-cg,GraySage.Edmonton.AB.CA, Sun 27 Apr 1997, 00:10 GMT
- Semaphores, Mutices, fd_sets,
Greg Munt greg#uni-corn,demon.co.uk, Sat 26 Apr 1997, 22:58 GMT
- Re: [MUD-Dev] Re: Verb binding,
ashen ashen#pixi,com, Sat 26 Apr 1997, 11:50 GMT
- Sendmail changes,
coder coder#ibm,net, Sat 26 Apr 1997, 10:46 GMT
- Re: [MUD-Dev] Re: Verb binding,
Chris Gray cg#ami-cg,GraySage.Edmonton.AB.CA, Sat 26 Apr 1997, 06:27 GMT
[ Other Periods
| Other mailing lists
| Search
]