Closed sustrik closed 12 years ago
Yes, that's definitely possible. I'll take care of that in a few hours.
Actually, after reviewing your patch, it looks like I won't have to make any changes. I check return codes explicitly for inequality with -1, which treats non-negative results from any xs methods as successful.
Great! Thanks for checking that out.
Would it be possible to check the error codes from xs_connect/xs_bind in the following way:
negative number means error 0 or greater means success
If this change is implemented, I can safely commit the "partial socket shutdown" patch to libxs.
Martin