[UDP library] Is it okay to have more UDP client users?

[UDP library] Is it okay to have more UDP client users?

hello. nice to meet you.
Please refer to the picture above.

  1. Multiple clients connect to one computer.
  2. Client continues to connect.
  3. Clients are still connected and the number is increasing.

Q1) How many is possible?
Q2) If you keep connecting, it will be hard on the server computer, right?


For the maximum number of UDP clients exchanging with a server, please refer to those links I found:

Basically since UDP is connection-less, your server is only receiving and sending packets from clients and not maintaining connection states.


A UDP server could therefore send/receive traffic from a theoretically unlimited number of address/port combinations. The server code simply inspect incoming packets for source address and port, then sends any responses back that way.

So yes it will depend on your resources (network, hardware) and server code performance.

1 Like


Thank you for good material. This is the answer I want.

Thank you very much for your reply.

1 Like