[JDEV] Jabber Presence response

raditha dissanayake jabber at raditha.com
Fri Oct 18 21:36:57 CDT 2002


Hi,
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 particular
>
>> user logged in through Java client.
>
>>
>
>> This client is different from others, it posts XML request and
>
>> receives XML response back immediately and close the connection.
>
>>
>
>> Buddies with Jabber are sending their presence fine, but buddies
>
>> belongs to external IM_s like yahoo, msn, etc., are not returning
>
>> presence information
>
>>
>
>> regardless of the presence type sent.
>
>>
>
>> Does anyone have solution to this?.
>
>>
>
>> Thanks,
>
>>
>
>> Vimal
>
>>
>
>  
>
>  
>
> _______________________________________________
>
> jdev mailing list
>
> jdev at jabber.org
>
> http://mailman.jabber.org/listinfo/jdev
>
>  
>
>  
>





More information about the JDev mailing list