Hello what i am doing is creating a program that will let me allow two android phones to communicate over TCP. The code that I have is
Server:
Client:
The problem is when I run the client on the emulator and then the server on the phone the client produces the following error. Note the server is running first and both programs have Internet permissions in the mainifest.
My aim is to use two phone where a phone is the server and the client is also on a phone. Any help would be much appreciated.