uNetworking / uSockets

Miniscule cross-platform eventing, networking & crypto for async applications
Apache License 2.0
1.29k stars 268 forks source link

us_socket_write should return -1 on error, not 0 #11

Open ghost opened 6 years ago

ghost commented 6 years ago

This is needed to avoid buffering on write failures due to errors.