File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Sockets and Internet Protocols and the fly likes max munber of sockets Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Reply Bookmark "max munber of sockets" Watch "max munber of sockets" New topic
Author

max munber of sockets

william kane
Ranch Hand

Joined: Nov 21, 2000
Posts: 260
Is there a limit on how many sockets one can open on a system using java sockets?


Help me!Help you!!!
Peter den Haan
author
Ranch Hand

Joined: Apr 20, 2000
Posts: 3252
Realistically, unless you're using java.nio.*, the limit is AFAIK the number of threads you can handle -- a few hundred to a few thousand, depending on the platform and the JVM you use.
- Peter
Van Glass
Ranch Hand

Joined: Nov 18, 2000
Posts: 110
This is of course also limited to the number of available ports on a system. I believe the hard limit is 65535
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: max munber of sockets
 
Similar Threads
open a pdf inline using MIME in ie7
ICMP Echo/Ping request
HTTPS POST using java.net
File Upload
Server help?