title: Realtime P2P communication between mobile devices
body: <p>I am building a mobile device that needs to send realtime information to other devices. I have considered XMPP but I do not have a server, so the communication must be only between the devices.</p>
  
  <p>Is there a way to communicate using XMPP between mobile devices without a server (Or using the mobile devices as servers)?</p>
  
  <p>Is Sockets a good idea ? i.e. Having a ServerSocket and client Socket and communicating this way. </p>
  
  <p>Is there a smarter way? I have heard of jWebSocket but I dont really know how it works or if it's worth it.</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>The process is as follows:</p>
  
  <ol>
  <li>I'm using Parse as a server/backend <a href="http://parse.com">http://parse.com</a></li>
  <li>When the user runs the app, a user list is retrieved from the parse server</li>
  <li>The user then has (Could have) the ip of other clients and then attempt to communicate with them.</li>
  </ol>
  
  <p>Problems<br>
  1. Parse does not support a XMPP server or other type of servers  </p>