Connecting 2 Emulator instances
<p>I have read one link on stackoverflow:
<a href="http://stackoverflow.com/questions/4683854/connecting-2-emulator-instances-in-android/4738690#4738690">Connecting 2 Emulator instances In Android</a></p>

<p>and according to NickT's suggestion I have applied the server code in one app and client code in another app.I redirected ports similar way,
telnet localhost 5554
redir add tcp:5000:6000
then I ran the server on emulator 5554 and the client on 5556 as per suggestion, but still I am getting the error.</p>

<p><code>java.lang.NullPointerException at "s = serverSocket.accept();"</code> line.</p>

<p>any mistake has been done?</p>
