Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's not 100% obvious. The mental model where send() blocks until recv() on the other side confirms it is coherent: the receiver sends ACKs with bumped ack numbers to acknowledge the bytes it's received, and could delay those ACKs until the application has taken the bytes out of the socket buffer. It doesn't work that way, of course, and shouldn't, but it could.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: