Linux C++ Socket in Action

This article primarily introduces the basics of Linux C++ Socket network programming. Most of the knowledge is sourced from the website: https://www.geeksforgeeks.org/socket-programming-cc/ Socket Programming State Diagram From the diagram, we can see that the server side needs to go through four steps to enter the “waiting for connection” state, while the client side only requires two. Brief Analysis of Socket Programming Functions This analysis is for personal understanding and may have some omissions....

April 30, 2022 · JohnathanLin