Using TCP Through Sockets.pdf

时间:2022-06-26 04:13:41
【文件属性】:

文件名称:Using TCP Through Sockets.pdf

文件大小:214KB

文件格式:PDF

更新时间:2022-06-26 04:13:41

tcp socket

This document provides an introduction to using sockets on Unix systems with a focus on asynchronous I/O. We first cover the basics of Unix file I/O and then discuss the use of sockets to communicate over a network using TCP. Section three describes the use of nonblocking I/O to improve performance and presents, as an example, an asynchronous finger client. Finally, a library that simplifies the use of asynchronous sockets is presented. Readers of this document are assumed to be proficient in the C and C++ programming languages including template classes and be comfortable using a Unix operating system to develop programs. Detailed knowledge of network standards or Unix I/O is not required. Noting the following typesetting conventions may assist the reader: words set in sans serif type (such as open) are Unix system calls; any text set in a mono spaced font (such as nbytes) is either a C code fragment or a C object or name.


网友评论