tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From umar farooq <umarfarooq...@gmail.com>
Subject Re: Problem in WebSocket
Date Tue, 01 May 2012 19:43:18 GMT
I got it. I will make my application to handle groups. but how can I
increase keep alive time..?? to be specific .. what steps do I need to
follow..?

On 5/1/12, Mark Thomas <markt@apache.org> wrote:
> On 01/05/2012 19:27, umar farooq wrote:
>> Hi All,
>>        I am trying to use Chat example of WebSocket given in  Tomcat
>> version
>>  7.0.27. Problem I faced are here.
>>
>> 1) After opening the web socket it closes the socket automatically after
>> 20
>> sec. I want connection open until Guest (i.e. user) explicitly closes it.
> Correct. Currently it uses the keep-alive timeout for the socket. Extend
> the timeout or use ping messages to keep the channel open.
>
>> 2) Second thing is that It broad casts the message to all users but what
>> i
>> want is to send message to a specific group of people.
> No it doesn't. Messages are sent to single connections.
>
>> Is there any method to send message to specific group.??
> No.
>
>> I checked API for WebSocket but there is no method for multicast.
> Correct. It is an application concern to maintain the groups it is
> interested in and send messages to members as required.
>
> Mark
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
>
>


-- 
*Regards,
*
*Muhammad Umar Farooq*
*Student **BIT* | SEECS, NUST *
*

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message