You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, -1 is used as a return value for errors. Add some error code symbols for specific errors and use those.
Also, some statements return -1 when a non-error value is probably ok (for example an unsolicited incoming connection attempt that was rejected with a RST wouldn't necessarily need to error out...just drop it).
The text was updated successfully, but these errors were encountered:
Currently,
-1
is used as a return value for errors. Add some error code symbols for specific errors and use those.Also, some statements return -1 when a non-error value is probably ok (for example an unsolicited incoming connection attempt that was rejected with a
RST
wouldn't necessarily need to error out...just drop it).The text was updated successfully, but these errors were encountered: