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

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.

主站蜘蛛池模板: 灵石县| 景洪市| 淄博市| 长顺县| 东山县| 民丰县| 山西省| 航空| 东至县| 区。| 治县。| 黄龙县| 上饶市| 怀安县| 会同县| 浦东新区| 富源县| 桦南县| 崇文区| 浠水县| 永城市| 和静县| 凤山市| 沛县| 郁南县| 邢台县| 焦作市| 陆良县| 南京市| 衡阳县| 翁源县| 西林县| 江川县| 呈贡县| 镇雄县| 夏河县| 奇台县| 梓潼县| 绵竹市| 洪江市| 松阳县|