title: WebSockets with Android: where's the URL?
body: <p>I'm currently working on a chat app for Android, and I understand that it needs an intermediary server as a point of contact between clients. I also get that XMPP is a tried and tested solution but however I'm primarily a C# developer and would like to invest my time in WebSockets, because from what I've read I believe it's both <strong>fast</strong> and <strong>lightweight</strong>, though it needs a handshake of some sort.</p>
  
  <p>So right now I've downloaded <a href="http://websocket4net.codeplex.com/" rel="nofollow">WebSocket4Net</a> (which is a fork from <a href="http://superwebsocket.codeplex.com/" rel="nofollow">SuperWebSocket</a>?). I'm able to create a <code>WebSocket</code> object with a local URL of sorts, and I understand that <a href="http://autobahn.ws/android/" rel="nofollow">Autobahn</a> is a viable WebSockets client library for Android. What I <em>don't understand</em> however, is how I'm going to get my Android client to connect to the web server (without a LAN connection, but rather over the Internet).</p>
  
  <p>Right now I think that a possible solution would be to expose a WCF endpoint which then plays well with the <code>WebSocket</code>, but then again that would add to the roundtrip time, defeating the purpose of WebSockets implementation in the first place... (lightweighted-ness!) I might as well just make do with simply WCF services as that point of contact.</p>
  
  <p>My question then is: what's the URL that my Android client will interact with?</p>