tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From umar farooq <umarfarooq...@gmail.com>
Subject Re: Web Socket Issue
Date Wed, 02 May 2012 18:44:37 GMT
But it is not requirement. I want to send ping once to open the socket
after that it should depend on user when he wants to close the connection.
Cannot I explicitly call some method to set timeout forever on client or
server side. Or any other mechanism..??

On Wed, May 2, 2012 at 10:04 AM, Filip Hanik (mailing lists) <
devlists@hanik.com> wrote:

> Have the client send a ping message every 10 seconds
>
> > -----Original Message-----
> > From: umar farooq [mailto:umarfarooq125@gmail.com]
> > Sent: Tuesday, May 01, 2012 6:06 PM
> > To: users@tomcat.apache.org
> > Subject: Web Socket Issue
> >
> > 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.
> > 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.
> > Is there any method to send message to specific group.?? I checked API
> > for
> > WebSocket but there is no method for multicast.
> >
> > Kindly help me I have very short time to implement it.
> >
> > Thanks..
> > --
> > *Regards,
> > *
> > *Muhammad Umar Farooq*
> > *Student **BIT* | SEECS, NUST *
> > *
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>


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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message