What does it mean to flush a socket?

Posted by User4748402 on Stack Overflow See other posts from Stack Overflow or by User4748402
Published on 2009-05-27T06:41:36Z Indexed on 2013/11/03 3:54 UTC
Read the original article Hit count: 110

Filed under:
|

I don't really know much about sockets except how to read and write to them as if they were files. I know a little about using socket selectors. I don't get why you have to flush a socket, what's actually happening there? The bits just hang out somewhere in memory until they get pushed off? I read some things online about sockets, but it's all very abstract and high level.

What's actually happening here?

© Stack Overflow or respective owner

Related posts about sockets

Related posts about networking