my program on DSP side is based on client demo aplication and add TCP
server like daemon. Server works good as echo server. I can receive packet,
parse it and return answer by TCP, it already works fine.
But I need send TCP data anywhere in my program.
All examples from TI for their Network Development Kit are based on Daemon
servers that received data ad send back immediately (using send() function
inside the server).I need TCP server on DSP which can send TCP data to PC
anywhere (for example: DSP send string "Data Received" over TCP after that
some data are received over DSP UART )not only after receiving data.
I am sure that NDK must supported this. It s a basic function...
Thanks for response....
There is no way to use it anywhere.
if you want to use send,you should 'fdopensession',mean that send must be run under the 'session'.
In my way,I start a send thread.when I want to send data,give the send thread a seamphone.