You're claiming there's a bug — sysread is returning zero when the socket isn't closed — but you're asking us to do the work of demonstrating a bug that hasn't been encountered before in a commonly used function.
How about providing a minimal runnable demonstration of the issue?
In reply to Re: Sysread returning 0 when used with sockets
by ikegami
in thread Sysread returning 0 when used with sockets
by Zubinix
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |