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.
工具/软件:TI-RTOS
我正在尝试实现 tcpecho 程序、但我找到了很多使用符合 BSD 标准的套接字接口功能的示例。 如果我想使用 NDK 套接字 API、在哪里可以获得实现 TCP 通信的示例?
您好,
我认为 NDK 和 BSD API 之间有一些解译、尤其是对于引用的变量和结构。 我找不到相关文档。
例如:
在函数: int ndk_bind (socket s、struct sockaddr *pname、int len)中,我应该如何设置灯丝 名称? 在哪里可以找到 关于 struct sockadr 的定义?
是的、我明白了。
谢谢。