WebSocket client API
Chris Hegarty
chris.hegarty at oracle.com
Thu Sep 3 10:10:21 UTC 2015
On 3 Sep 2015, at 10:13, Andrej Golovnin <andrej.golovnin at gmail.com> wrote:
> Hi Pavel,
>
>> So you need the ability to send pings and unsolicited pongs. Do you handle pong
>> replies from the server? If so, do you control their arrival times and their
>> consistency with previous pings sent? What about unsolicited pongs from the
>> server?
>
> We use pings to ensure that firewalls do not close inactive (from
> their point of view) connections. And we send some useful data with
> the ping which is then processed on the server. Currently all pong
> messages from the server are ignored on the client.
Will adding the ability to send ping(ByteBuffer) be sufficient for your usage? If so, then I think we should add it, but not pong. The implementation will automatically send a pong message in response to receiving a ping. OK?
-Chris.
> Best regards,
> Andrej Golovnin
More information about the net-dev
mailing list