Both TCP and UDP services generally have a client-server relationship.
For example, in a TELNET client process, which initiates a connection with the TELNET server.
The connection then begins and is bidirectional between the client and server and can be used for reading and writing between the two hosts.