Hello,
Working on some simple android networking. Ran into a problem i cant figure out.
Java -> Server
Android -> Client
The problem is sending information form the client to the server. The server job is only to listen on a port. Once a connection is made it passes that socket to another class, and the server continues to listen on the port. The class that is passed the socket is always listening to the client.
The problem is not connecting. I want to simply send text when i press the "submit" button. The problem is that the data is only sent once, or after initial contact. After that it seems as if the server is not getting any info at all. Or maybe the client isn't sending?
I have tried a couple of thing. however they didn't seem to work.
Any help is appreciated.
Working on some simple android networking. Ran into a problem i cant figure out.
Java -> Server
Android -> Client
The problem is sending information form the client to the server. The server job is only to listen on a port. Once a connection is made it passes that socket to another class, and the server continues to listen on the port. The class that is passed the socket is always listening to the client.
The problem is not connecting. I want to simply send text when i press the "submit" button. The problem is that the data is only sent once, or after initial contact. After that it seems as if the server is not getting any info at all. Or maybe the client isn't sending?
I have tried a couple of thing. however they didn't seem to work.
Any help is appreciated.