V
V
Vanes Ri_Lax2015-06-19 13:07:34
Java
Vanes Ri_Lax, 2015-06-19 13:07:34

How long can you keep open connections to the server via web sockets?

Hello, I am writing a client-server application on web sockets.
For example, I have n connections to the server via ws. No transmission takes place, just n open connections are maintained. And so whether there will be such that when connection with the server n+1 will be created, the client will be refused. Not because the server's memory is full, but simply some maximum of this number n has been reached. Is it possible?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Puma Thailand, 2015-06-19
@opium

Not possible in your case

M
Moxa, 2015-06-20
@Moxa

I raised a million connections on my home computer, if the server does not have special restrictions, then everything is limited to a limit of 65k ports per IP

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question