TCP Connection

3 views
Skip to first unread message

Nishant Modak

unread,
Sep 15, 2009, 1:20:57 AM9/15/09
to jaxl
Since JAXL does not have BOSH support right now.. and uses TCP for
communication.. was curious to know the following.

how long can this TCP connection continue without being interrupted?
as in, How long-lived can this connection be?

imoracle

unread,
Sep 15, 2009, 4:33:30 AM9/15/09
to jaxl
If you see http://abhinavsingh.com/blog/2009/01/behind-the-scenes-how-and-what-xmls-are-exchanged-by-jaxl/
you will get an idea about what you just asked.

In XMPP protocol, client and server can bind to each other for quite a
long period. (until one of the sends a end stream packet or client/
server go down for some reasons)
Jaxl takes care of connecting your app back again to the servers if
connection is reset.

Though you need to take care of how many max such connection can be
opened.
Hope this helps.

Regards,
Abhinav
Reply all
Reply to author
Forward
0 new messages