Unix Sockets 简明教程

Discuss Unix Socket

套接字是位于同一计算机或不同计算机上用于交换数据的通信点。套接字受 Unix、Windows、Mac 和许多其他操作系统支持。本教程涵盖了网络地址、主机名、架构、端口和服务等基本主题,从而打下了坚实的基础,然后进入网络地址函数并解释如何使用套接字编写客户端/服务器代码。

Sockets are communication points on the same or different computers to exchange data. Sockets are supported by Unix, Windows, Mac, and many other operating systems. The tutorial provides a strong foundation by covering basic topics such as network addresses, host names, architecture, ports and services before moving into network address functions and explaining how to write client/server codes using sockets.