title: Who is the server and who is the client in UDP?
body: <p>In TCP, you can differentiate between servers and clients, because servers are those who bind and accept (TCP listeners) and clients just connect to those servers. Both can send and receive.</p>
  
  <p>But, in UDP how do you differentiate between servers and clients? There is no special behavior to differentiate between servers or clients in UDP, right? It seems that we can only classify machines involved in a UDP connection as senders and receivers. A server could be either, or both. It can receive data from many clients or it can send data to many clients (e.g. multicast server).</p>
  
  <p>Please correct me if I am wrong and point me to the correct forum if I posted the question in the wrong one.</p>
  
  <p>Thanks.</p>