Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux-C网络编程 | 温酒送诗人 #35

Closed
wintrysec opened this issue Feb 6, 2019 · 0 comments
Closed

Linux-C网络编程 | 温酒送诗人 #35

wintrysec opened this issue Feb 6, 2019 · 0 comments

Comments

@wintrysec
Copy link
Owner

http://www.51xkx.cn/2019/02/06/Linux-C%E7%BD%91%E7%BB%9C%E7%BC%96%E7%A8%8B/

简介基础是TCP/IP协议,网上资料很多不再赘述。 推荐《图解TCP/IP》 socket编程网络字节序发送主机通常将发送缓冲区中的数据按内存地址从低到高的顺序发出, 接收主机把从网络上接到的字节依次保存在接收缓冲区中,也是按内存地址从低到高的顺序保存 因此,网络数据流的地址规定:先发出的数据是低地址,后发出的数据是高地址 TCP/IP协议规定,网络数据流应采用大端字节序,即低地址高字节。 例如

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant