1

I am using libwebsocket as client to communicate with socketIO. I want to keep my connection alive by sending ping packet. I know during protocol negotiation we get ping interval and ping timeout. But I am failing to find it in libwebsocket context.

Anthon
  • 69,918
  • 32
  • 186
  • 246
axay
  • 21
  • 3
  • How is ICMP is going to help you implement a keep alive? – Elliott Frisch Mar 13 '15 at 04:39
  • you are confusing ICMP ping packet with ping-pong mechanism in websocket – axay Mar 13 '15 at 04:57
  • Probably. Can we see some code? – Elliott Frisch Mar 13 '15 at 04:58
  • Welcome to Stackoverflow. I removed the chit-chat from your question (read [help→tour](http://stackoverflow.com/tour)) we don't want people to have to wade through non-essentials on every question. Code, available output, expected output and/or error message should be included by editing your question. – Anthon Mar 13 '15 at 05:02

0 Answers0