Re: Maximum number of sockets
Re: Maximum number of sockets
- Subject: Re: Maximum number of sockets
- From: Quinn <email@hidden>
- Date: Mon, 12 Jul 2004 21:34:27 +0100
At 19:30 +0200 12/7/04, Dario wrote:
And if the fd_set contains only 1024 fd, isn't it useless if it
internally can use more ?
Well, it depends on the scope of your program. If you're writing
code that can operate within an arbitrary process (such as a generic
library), you would need to avoid fd_set. OTOH, most typical
applications never have more than 1024 descriptors open, so fd_set is
just fine.
S+E
--
Quinn "The Eskimo!" <
http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.