我正在开发一个应用程序,它会利用一些的SCTP(流控制传输协议)的API一样sctp_bindx,sctp_connectx等等。
我的内核版本是 3.13.0-49-generic。
如果我尝试编译我的代码,我会得到
fatal error: netinet/sctp.h: no such file or directory.
Run Code Online (Sandbox Code Playgroud)
如果我安装lksctp-tools包,那么我的代码就会被编译。
我可以在不安装任何libsctp库的情况下使用 API吗?因为我读到 kenel 版本支持 SCTP > 2.1
compiling ×1