serenity-rs / songbird

An async Rust library for the Discord voice API
ISC License
391 stars 111 forks source link

fix(conn): Some operating systems does not allow 0 recv buffer #243

Closed Erk- closed 3 months ago

Erk- commented 3 months ago

This will cause FreeBSD to fail setting up the socket. It may also be true of some other operating systems, but these are the ones I have been able to test.

It works on Windows and Linux.