XMPP connections

2013-11-26 Thread Haider Ali
Hi Everyone Can anyone let me know that how XMPP handle so many connections. Since we know that we can only open 2 ^ 16 = 65536 ports ( connections ) with a single machine. But i came to know that single xmpp server can handle more connections than 65536.

Re: XMPP connections

2013-11-26 Thread Eric Koldeweij
Hello, A typical XMPP server will open only one port, port 5222. All clients will connect to that port so in theory an almost unlimited number of connections are possible to that server. This is not particular to XMPP but is a basic TCP/IP client/server feature, exactly the same goes for

Re: XMPP connections

2013-11-26 Thread Reinhard Max
Hi, On Tue, 26 Nov 2013 at 11:41, Haider Ali wrote: Can anyone let me know that how XMPP handle so many connections. Since we know that we can only open 2 ^ 16 = 65536 ports ( connections ) with a single machine. But i came to know that single xmpp server can handle more connections than

Re: XMPP connections

2013-11-26 Thread Reinhard Max
On Tue, 26 Nov 2013 at 12:09, Eric Koldeweij wrote: The 65536 port limit is a client limit, not a server limit. A client can not have more than 65536 connections open to any other host at the same time (65536 is theoretical, in reality this number will be much lower). A client can even

Re: XMPP connections

2013-11-26 Thread Tomasz Sterna
Dnia 2013-11-26, wto o godzinie 01:41 -0900, Haider Ali pisze: Since we know that we can only open 2 ^ 16 = 65536 ports ( connections ) with a single machine. That's a common myth. Google is your friend: