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.
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.