I remember having read somewhere that a socket can be regarded as two independent half-duplex channels. Does it mean that recv()
and send()
of the same socket are actually irrelevant?
thanks.
I'm curious how you think they would interfere with each other. Are you thinking that you might receive what you sent?