• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Maximum number of sockets
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: Maximum number of sockets
      • From: Dario <email@hidden>
References: 
 >Re: Maximum number of sockets (From: Quinn <email@hidden>)
 >Re: Maximum number of sockets (From: Dario <email@hidden>)
 >Re: Maximum number of sockets (From: Quinn <email@hidden>)
 >Re: Maximum number of sockets (From: Dario <email@hidden>)

  • Prev by Date: Re: Maximum number of sockets
  • Next by Date: Re: Maximum number of sockets
  • Previous by thread: Re: Maximum number of sockets
  • Next by thread: Re: Maximum number of sockets
  • Index(es):
    • Date
    • Thread