Android: TCP/IP-Server of just using GCM
<p>I wrote an app with TCP/IP-connection to my TCP/IP-Server as a Messaging-app.</p>

<p>Now I wonder, if I could just use GCM to forward my messages from client-to-server and server-to-client?</p>

<p>Why still need an own tcp/ip-Connection?</p>

<p>Or is there a mistake in my way of thinking? Should I just use GCM to handle keepAlive-Messages of my tcp/ip-Connection.</p>

<p>Can I implement a appserver for receiving GCM-Messages in my Java-Tcp/ip-Server?</p>

<p>Thanks!</p>