mmm bit of a tough one this. What i suggest is you have a proxy in between your jabber server and the client. The proxy establishes the connection to the jabber server and holds it for some time. If the same client attempts to communicate again the same socket can be reused. the proxy merely passes the data back and forth between the client and jabber server.
hope this helps.
Vimalathithan Krishnan wrote:
Yes, I need to close the connection, otherwise it blocks the socket till it get response from gateways.
also I need the immediate response.
--Vimal
once you close the connection that signals that you are offline, since
there is a time lapse between sending info back and forth between your
jabber server and yahoo etc, you may be closing the connection before
you get the response that you need.
do you really need to open and close this connection in this manner ?
Vimalathithan Krishnan wrote:
Hi,I_m trying to get presence status of buddies online for a particularuser logged in through Java client.This client is different from others, it posts XML request andreceives XML response back immediately and close the connection.Buddies with Jabber are sending their presence fine, but buddiesbelongs to external IM_s like yahoo, msn, etc., are not returningpresence informationregardless of the presence type sent.Does anyone have solution to this?.Thanks,Vimal
_______________________________________________
jdev mailing list
[EMAIL PROTECTED]
http://mailman.jabber.org/listinfo/jdev
_______________________________________________ jdev mailing list [EMAIL PROTECTED] http://mailman.jabber.org/listinfo/jdev
