Array of sockets

I had a quick question about how I will support connecting 1000 sockets. Im uses streams to start writing and reading streams.

However, when I pass the socket to a new thread, the thread will not exit after the exception. I wanted to know if the socket transfer would contain a stream because it is still connected.

+3
source share
1 answer

I wanted to know if the socket transfer would contain a stream because it is still connected.

No. It will not be done.

. , - . , , , , - . ( .)

.., , .

+2

Source: https://habr.com/ru/post/1761427/


All Articles