Hi Hari,

Assuming that you're using long polling a request must be kept open for data to be streamed to the client when it's available. When sending a SEND request you are essentially opening up another connection to the server. There fore any previous request made to the server is then CLOSED. LEFT raws are sent when ever a user disconnects from the channel or he/she timed out.

Hope this helps.
Nathan Tran.

On 10/07/2011 10:26 PM, hari narayanan wrote:
Hi,

I understand that the format of send command is

[{"cmd":"SEND","chl":3,"params":{"msg":"Helloworld!","pipe":"" + sub1
+ "\"},"sessid":"" + sub + "\"}]

The response to this command is a bit weird. Sometimes, it sends me
back a raw called LEFT that contains users who left the channel.
Sometimes, it waits for 25s and the connection is CLOSED... Why does
this happen?

I need to understand why this happens

Thanks


--
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/

Reply via email to