socket — 网络通信
优质
小牛编辑
143浏览
2023-12-01
用途: 提供对网络通信的访问
Addressing, Protocol Families and Socket Types
- Looking up Hosts on the Network
- Finding Service Information
- Looking Up Server Addresses
- IP Address Representations
TCP/IP Client and Server
- Echo Server
- Echo Client
- Client and Server Together
- Easy Client Connections
- Choosing an Address for Listening
User Datagram Client and Server
- Echo Server
- Echo Client
- Client and Server Together
Unix Domain Sockets
- Permissions
- Communication Between Parent and Child Processes
Multicast
- Sending Multicast Messages
- Receiving Multicast Messages
- Example Output