Relative Content

Tag Archive for c++websocket

How to use Fleck Websocket to listen all host address in C#?

I want to listen to all host address like ws://+:3002/, because I am currently using Cloudflare Tunnel on my Ubuntu and this is the way it works. When I am using HttpListener, it can work with the expression http://+:3001. However, when I am trying to use Fleck to do that, it will throw the following exception:

C# WebSocket Server not responding to pings

I’ve managed to write a csharp websocket server and clients can connect, however the clients send a ping message but the server doesnt respond with a pong so the client drops the connection.