Tool/software: TI-RTOS
I am trying to implement a tcpecho programm, but I found a lot of examples using the BSD-compliant socket interface function. if I want to use the NDK socket API, where can I get a example to implement TCP communication?
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.
Tool/software: TI-RTOS
I am trying to implement a tcpecho programm, but I found a lot of examples using the BSD-compliant socket interface function. if I want to use the NDK socket API, where can I get a example to implement TCP communication?
Hi,
I think that there are some defferents between the NDK and BSD API, especially for referenced variables and structures. and I can not find the related documents.
such as:
in the function : int NDK_bind(SOCKET s, struct sockaddr *pName, int len), how should I set the parament pName? where can I find the define about struct sockaddr?