Theldus / wsServer

wsServer - a tiny WebSocket server library written in C
https://theldus.github.io/wsServer
GNU General Public License v3.0
422 stars 80 forks source link

Maybe not only doing a server? #38

Closed haruzheng closed 2 years ago

haruzheng commented 2 years ago

Hi

I want to using this library to doing a client. I need to change code or not?

I think maybe need change code can do it, but maybe not?

thank you

Theldus commented 2 years ago

Hi @haruzheng, Unfortunately, this library is just a websocket server, and it doesn't work as a client.

Although the RFC 6455 specs for client and server are very similar, I have no intention (at the moment) to support both in a single project.

If you want to use a websocket client in C, you will have to look for another project.