• 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: Dario <email@hidden>
  • Date: Mon, 12 Jul 2004 18:11:49 +0200

Il giorno 12/lug/04, alle 17:43, Quinn ha scritto:

> At 19:02 +0200 18/6/04, Eric Arlotti wrote:
>> It works well for 500 or 600 sockets, but problems occur around 1000
>> (1024 ?) sockets
>
> Hmmm, that's very suspicious. If the library is, in fact, calling
> select, then it may be running into problem if you use more than 1024
> sockets. The FD_SETSIZE, which is the maximum number of file
> descriptors that can be handled by the fd_set structure, is 1024. The
> select system call handles more file descriptors properly (well, as
> properly as select can given its less-than-ideal design), but it could
> be that your library is not handling it (for example, expecting to be
> able to represent an arbitrary socket within an fd_set structure
> rather than dynamically allocating the set).

what do you mean for "The select system call handles more file
descriptors properly", more then 1024???

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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: Quinn <email@hidden>
References: 
 >Re: Maximum number of sockets (From: Quinn <email@hidden>)

  • Prev by Date: Re: Use CFMessagePort in CFM app?
  • 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