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

send_all function return value error #68

Closed raspberry-pi-maker closed 10 months ago

raspberry-pi-maker commented 1 year ago

Hi there. SEND macro returns 0 instead of sent bytes. I searched the ws.c and found that send_all function returns 0. I think send_all must return the sent bytes.

Theldus commented 1 year ago

Hi @raspberry-pi-maker, Thanks for letting me know, commit 0ac7afa should fix this =).