Can I use more than 65535 ports to implement XMPp PubSub or Comet?

At Comet / Reverse Ajax / PubSub, fundamental technology / fundamental - long survey. In this way, communication is maintained for a minute or so.
And according to my little knowledge of the network and OS, TCP / IP only supports 65535 ports, so my question is, how can any server support more than 65535 connections at the same time?

In the application that I create, all users will connect at the same time and want to receive current updates from the server .. for example, store current updates in real time ..

Greetings

+3
source share
2

, 65535 , TCP- . , - 80. 4- (src-, src-, dest-address, dest-port).

+6

:

  • ip ( )
  • ( 1024-65535)
  • IP- ( ip)
  • ( , )

ips, 64000 (). ...:)

+4

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


All Articles