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

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.

主站蜘蛛池模板: 科技| 若尔盖县| 柞水县| 寻乌县| 蒙城县| 林州市| 罗源县| 青浦区| 宁陵县| 临清市| 和林格尔县| 临邑县| 涿州市| 自贡市| 松滋市| 乌拉特后旗| 乌拉特中旗| 元谋县| 莆田市| 昌都县| 安吉县| 营口市| 衡水市| 水富县| 五河县| 凌源市| 尚志市| 子长县| 越西县| 台湾省| 获嘉县| 湘潭县| 桐庐县| 神农架林区| 安平县| 辽中县| 锡林郭勒盟| 东明县| 息烽县| 宁乡县| 高唐县|