Re: WebSocket Help

2012-05-02 Thread Pid
On 02/05/2012 00:53, 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.
 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.

This was answered when you posted on the dev list.


p


-- 

[key:62590808]



signature.asc
Description: OpenPGP digital signature


Re: WebSocket Help

2012-05-02 Thread umar farooq
But the whole question was not answered there. They said that this question
is from user list.
kindly tell me how to increase 20sec timeout and how can we explicitly
close the connection.?
I am in trouble please help me.

On Wed, May 2, 2012 at 1:25 AM, Pid p...@pidster.com wrote:

 On 02/05/2012 00:53, 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.
  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.

 This was answered when you posted on the dev list.


 p


 --

 [key:62590808]




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


Re: WebSocket Help

2012-05-02 Thread Daniel Mikusa
- Original Message -
 But the whole question was not answered there. They said that this
 question
 is from user list.

http://markmail.org/message/v5uztyakaczjxxrr

 kindly tell me how to increase 20sec timeout and how can we
 explicitly
 close the connection.?
 I am in trouble please help me.
 
 On Wed, May 2, 2012 at 1:25 AM, Pid p...@pidster.com wrote:
 
  On 02/05/2012 00:53, 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.
   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.
 
  This was answered when you posted on the dev list.
 
 
  p
 
 
  --
 
  [key:62590808]
 
 
 
 
 --
 *Regards,
 *
 *Muhammad Umar Farooq*
 *Student **BIT* | SEECS, NUST *
 *
 

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



Re: WebSocket Help

2012-05-02 Thread André Warnier

Pid wrote:

On 02/05/2012 00:53, 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.
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.


This was answered when you posted on the dev list.

And I am not going to subscribe to the dev list to find out, because I think that I 
already have a pretty good idea of what that answer was...

:-)


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



Re: WebSocket Help

2012-05-02 Thread Mark Thomas
On 02/05/2012 19:50, André Warnier wrote:
 Pid wrote:
 On 02/05/2012 00:53, 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.
 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.

 This was answered when you posted on the dev list.

 And I am not going to subscribe to the dev list to find out, because I
 think that I already have a pretty good idea of what that answer was...
 :-)

Actually, it was a complete answer because I replied before I realised I
was looking at the dev list.

Mark

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