• 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: Not able to accept more than 60 connections
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Not able to accept more than 60 connections


  • Subject: RE: Not able to accept more than 60 connections
  • From: Pranav Kumar Sahu <email@hidden>
  • Date: Thu, 1 Apr 2004 10:18:25 +0530

It depends on the backlog parameter that you have mentioned with your listen
call. And I think default is 128.

If you are not happy with the performance you can go for multithreaded.

--Pranav Sahu

-----Original Message-----
From: email@hidden
[mailto:email@hidden]On Behalf Of Mahesh Vyas
Sent: Wednesday, March 31, 2004 5:06 PM
To: email@hidden
Cc: Rama Swamy Yeleswarapu; Abhishek Jain
Subject: Not able to accept more than 60 connections


In MACOSX(Jaguar and Panther), we are using BSD socket calls in our
client-server application.
The server is handling each client in the asynchronous way, i.e, one
function takes care of all client the requests(not creating thread for each
client).
After the number of client(connect call from client) reaches approx. 60, the
server stops accepting new connection, i.e., successive calls to accept()
fails.

1. Is there any limit to the number of connections that can be established
in MACOSX.
2. If yes, is it configurable.
3. Is this architecture(single-threaded) advisable over the multithreaded
one.
_______________________________________________
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.
_______________________________________________
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.


  • Next by Date: RE: Not able to accept more than 60 connections
  • Next by thread: RE: Not able to accept more than 60 connections
  • Index(es):
    • Date
    • Thread