This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Sendto() API calling from anywhere in the NDK example code.

Hi,

i would like to send a packet over the ethernet interface from anywhere in the program by calling sendto() API of NDK.

I need somethiing like this:

void PeriodCalling_100ms(void){

sendto (s,data, datasize,0,peerAddr,sizeof(peerAddr));     //each 100ms send this string over UDP session which defined in external variable 's'. S can be defined in the first calling of dtask_tcp_dataserv

}

So my question is still actual! How can I send data over ethernet anywhere in my program??? Not  only in function which is called by ethernet frame receiving (dtask_tcp_dataserv) like in all examples from TI for their NDK.

Iam sure that the NDK must be supporting this!

Please help.

Santosh