title: Can a single socket be used for full duplex communication in C?
body: <p>I am writing a peer-to-peer application where the connection between the two client peers must be duplex, so that both clients are capable of transmitting and receiving at the same time. Is it possible with a single socket or do I need to use two sockets?</p>