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

socket编程示例 | singheart's blog #16

Open
xinjiempolde opened this issue Nov 2, 2022 · 0 comments
Open

socket编程示例 | singheart's blog #16

xinjiempolde opened this issue Nov 2, 2022 · 0 comments

Comments

@xinjiempolde
Copy link
Owner

http://singhe.art/2022/04/04/socket%E7%BC%96%E7%A8%8B%E7%A4%BA%E4%BE%8B/

本次使用的环境为Ubuntu 16.04。如果是linux操作系统能够运行本示例代码,如果是Windows操作系统,那么本篇文章不适用。 什么是socketsocket是应用层和传输层之间的API接口,通过socket为本地进程和远端进程提供通信服务,如TCP、UDP,是面向client-server架构的。需要注意的是,socket也能够实现与网络层的连接,不过用得很少,这里示意图不再标出。

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