File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Sockets and Internet Protocols and the fly likes Socket Support(SOS) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Socket Support(SOS)" Watch "Socket Support(SOS)" New topic

Socket Support(SOS)

Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
We r creating a chat program. We came to know that a socket can support only 50 connections ( i.e only 50 clients can connect to our Chat Server at a time). Is it true ?. If it is true what is the mechanism to overcome this problem. Our Server is using Linux(containing JDK1.1.5).
Pawel Veselov
Ranch Hand

Joined: Jan 14, 1999
Posts: 165
I'm not sure, but there should be no of that limitations neither for JDK nor for Linux kernel.
It may be that this is just a 'feature' for linux jdk, I would suggest you take the latest Linux jdk from IBM or you can have this restrictions set in kernel level in /proc for your box.

With best of best regards, Pawel S. Veselov ( aka Black Angel )
I agree. Here's the link:
subject: Socket Support(SOS)
It's not a secret anymore!