Sockets Non-blocking and Timeouts

Hello guys,I'm new to this forum so if there is something i should be knowing regarding the format of framing the questions,please do let me know.

Coming to the main point, recently i have been reading about sockets and i wondered when we have set Non-blocking mode for send and receive then what is the purpose of timeouts? I feel I'm missing something please help me fill that gap.

I don't think timeouts are meaningful in non-blocking mode.
timeouts in what sense? connecting to an endpoint, or communicating with it? Either way, a timeout is still meaningful in that it makes sure the other end is still active. If not, you can close it to free up resources.
format code in code blocks (<> over in the edit panel). Anything else just use common sense about asking good questions and format like an adult (leetspeak and txtmsg shorthand are right out).

Topic archived. No new replies allowed.