title: Client - client communication without server?
body: <p>I am new to socket programming and I need to clarify some things.</p>
  
  <p>Do you need a server between two client communication? Let me explain what I mean:</p>
  
  <p>Example 1: </p>
  
  <ol>
  <li><strong>Client1:</strong> Server, I want to talk with a client2</li>
  <li><strong>Server:</strong> No problem. Let's just wait until he sends the request to connect</li>
  <li><strong>Client2:</strong> I'm here. I want to talk with client1.</li>
  <li><strong>Server:</strong> Okay Client1 here is Client2 IP address. And for you Client2, here is</li>
  </ol>
  
  <p>Client1 IP Address. You can now talk to each other without me.</p>
  
  <p>Example 2:</p>
  
  <ol>
  <li><strong>Client1:</strong> Server, please send client2 a message: "Hey client2. How are you?"</li>
  <li><strong>Server:</strong> Okay no problem. Sending message to client2</li>
  <li><strong>Client2:</strong> Server thanks for sending client1's message. Send him a reply: "Hey, I'm fine."</li>
  <li><strong>Server:</strong> Sending message to client1..</li>
  </ol>
  
  <p>So my question is: Do you need a server after you met two clients together to communicate between them? Or I'm on completely wrong track?</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>The purpose behind this is that I want to expand my very simple mobile game to become a multiplayer. Just for example, I want to show PACMAN2 on PACMAN1 mobile phone and vice versa.</p>