Re: Getting problem during using sockets in threads
Wednesday, June 12, 2002 12:16 AM
It looks like the problem is not the threads (try to make 100 threads that do something else than opening sockets...).
The problem seems to be opening more than (my guess) 64 sockets. What operating system do you use? I once had the problem to open more than 256 sockets on solaris. But there are system commands to change this (needs root priviledge).
So: check if it is a socket or a thread problem. If it is a thread problem, check your operating system manual for limitations :-).