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 <ma...@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-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: dev-h...@tomcat.apache.org
>
>


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

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

Reply via email to