是否有任何“ Api或系统调用”来从网络层获取整个数据包而不削减报头?
You can't, unless your un-named operating system provides it via the recvmsg()
function, which I believe Linux can do. Otherwise your question embodies a contradiction in terms.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.