Can nodejs serve android and ios

I want to build a two player game for android. I was wondering if I can use nodejs as a web server. Can nodejs be used to serve android clients ? How data will be pushed using nodejs to an android client ? Can it be used to serve iOS client ?

I recommend you using Socket.IO.

And then use Socket.IO-Client for Java for the android.

  1. Yes, check the node.js page for a quick example.
  2. Yes
  3. Possibly look at socket.io for handling your communication.