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?
- if so, is it by definition or implementation-specific?
- if not, how the two interfere with each other?
thanks.