官术网_书友最值得收藏!

Networking

Networking is another common use case that requires making system calls. On POSIX-compliant systems, we perform network-based system programming by working with POSIX sockets. Sockets provide an API for programming the Network Interface Controller (NIC), and support logic (for example, the TCP/IP stack) within the operating system.

Networking itself is an extremely complicated topic, deserving of its own book, but thankfully, the system calls needed to perform this type of programming are simple, with the majority of the gory details being handled by the operating system.

In Chapter 10, Programming POSIX Sockets Using C++, we will go into further detail on how to make these types of system calls using the socket API.

主站蜘蛛池模板: 栾城县| 睢宁县| 鹤壁市| 武强县| 汕头市| 永城市| 彭泽县| 江源县| 靖远县| 黔西县| 宜昌市| 牡丹江市| 江阴市| 松江区| 贡觉县| 宁安市| 怀安县| 佛冈县| 庄河市| 嘉鱼县| 马山县| 大渡口区| 迁安市| 永宁县| 四平市| 东辽县| 奈曼旗| 济阳县| 电白县| 太仆寺旗| 滕州市| 峡江县| 射阳县| 哈尔滨市| 黑山县| 青铜峡市| 吉木乃县| 长武县| 纳雍县| 会同县| 长岛县|