3 ms·
Without looking at the code, it's hard to say, typically errors like the one described won't be caught by return values of read/write, but by return values of c
by abofh 13y ago
Without looking at the code, it's hard to say, typically errors like the one described won't be caught by return values of read/write, but by return values of close() -- which many many people don't bother to check. (Not saying that's what happened, but that's my bet)
- tptacek 13y agoDid they close() the socket? If you write data to a socket, and receive no signal that it's been processed, shouldn't you shutdown(2), select(2), then read(2) before you close(2) it?
- deleted 13y ago[deleted]