Hello,
I am looking for some advice using the NDK. The application requires a TCP server to respond to commands sent, but in addition, i need to send data out from another thread over the same TCP connection.
Any ideas?
I currently have a daemon that listens for a TCP connection...this is working great. I can connect and receive/reply to all the commands I need. The next step is to implement this 'asynchronous' sending from another thread.
To give a general idea of what I am trying to acomplish...you send a 'start' signal over the TCP connection. This enables another thread to periodicly send 'results' back over this TCP socket. When the 'stop' command is received, data stops.
Thanks.