[Libwebsockets] Libwebsocket identifying PING packet

techi eth techieth at gmail.com
Wed Oct 19 09:47:56 CEST 2016


I am running server & one of connected client trying to send ping packet.I
need to identify that packet & response pong.

How to identify ping packet on web socket callback ?

I understand we can write PONG by using LWS_WRITE_PONG in response of Ping.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libwebsockets.org/pipermail/libwebsockets/attachments/20161019/83597d48/attachment.html>

More information about the Libwebsockets mailing list