C 语言网络编程
Network Programming in C
- 01 - Introduction
- 01 - Network with the world
- 02 - What you need for this course
- 03 - Traps and pitfalls
- 02 - 1. Network Communications
- 01 - View the big network picture
- 02 - Configure the firewall
- 03 - Understand the Internet Protocol (IP)
- 04 - Explore network addresses and ports
- 05 - Access local network details
- 06 - Discover local interfaces
- 07 - Review the clientserver roles
- 03 - 2. Network Programming
- 01 - Understand socket programming
- 02 - Explore the getaddrinfo() function
- 03 - Open a socket
- 04 - Bind and connect
- 05 - Listen and accept
- 06 - Challenge Check for errors
- 07 - Solution Check for errors
- 04 - 3. TCP Connections
- 01 - Create a TCP server
- 02 - Call a TCP server
- 03 - Code a dual stack configuration
- 04 - Challenge A generic TCP client
- 05 - Solution A generic TCP client
- 05 - 4. UDP Connections
- 01 - Code a UDP server
- 02 - Code a UDP client
- 03 - Challenge Code a UDP client and server
- 04 - Solution Code a UDP client and server
- 06 - 5. A Chat Server
- 01 - Obtain the client's address
- 02 - Maintain the connection
- 03 - Accept multiple connections
- 04 - Challenge Write a chat server
- 05 - Solution Write a chat server