Skip to content

[bug]example ping.c hangs when client not respond #99

@habi498

Description

@habi498

Description

I was learning about wsServer ping and pong. To test it the ping.exe in examples was run. Then a client (similar to echo.html) was connected. The client have no code to respond to ping messages. When client is connected, server says "Connected". Then after few seconds "Sending ping". If no client was connected, this message appear in every 10 seconds. But when a client is connected and after the first "Sending ping", nothing happens. I disconnected the client and cannot reconnect it. so ping program hangs i suppose.

Your environment

Describe your environment:

  • wsServer version ea8a029
  • OS version: Windows 10.
    • If Windows:

      • Is it running under MinGW? yes
  • Architecture: x86-64
  • Client: Google Chrome
    • If browser: which website?
      • Have you tested under the echo/echo.html example? yes.
ping hang

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions