tcp_ip

所属分类:TCP/IP协议栈
开发工具:C
文件大小:0KB
下载次数:0
上传日期:2023-09-27 09:42:14
上 传 者sh-1993
说明:  TCP IP网络编程学习笔记,
(TCP IP network programming learning notes,)

文件列表:
bin/ (0, 2023-10-20)
bin/char_client (17344, 2023-10-20)
bin/char_server (17472, 2023-10-20)
bin/decto (16152, 2023-10-20)
bin/dup (16216, 2023-10-20)
bin/file_client (16816, 2023-10-20)
bin/file_server (16944, 2023-10-20)
bin/fileno (16080, 2023-10-20)
bin/fork (16264, 2023-10-20)
bin/gethostbyaddr (16528, 2023-10-20)
bin/gethostbyname (16384, 2023-10-20)
bin/multi_thread (16176, 2023-10-20)
bin/multi_thread2 (16208, 2023-10-20)
bin/mutex (16496, 2023-10-20)
bin/oob_recv (17072, 2023-10-20)
bin/oob_send (16720, 2023-10-20)
bin/peek_recv (16760, 2023-10-20)
bin/pipe_1 (16168, 2023-10-20)
bin/pipe_2 (16216, 2023-10-20)
bin/readv (16048, 2023-10-20)
bin/remove_zombie (16352, 2023-10-20)
bin/select (16408, 2023-10-20)
bin/semaphore (16704, 2023-10-20)
bin/sep_client (16872, 2023-10-20)
bin/sep_serv (17000, 2023-10-20)
bin/sep_serv2 (17128, 2023-10-20)
bin/sigaction (16216, 2023-10-20)
bin/signal (16400, 2023-10-20)
bin/socket_type (16432, 2023-10-20)
bin/tcp_echo_client (16928, 2023-10-20)
bin/tcp_echo_epoll_et_server (17040, 2023-10-20)
bin/tcp_echo_epoll_server (16992, 2023-10-20)
bin/tcp_echo_multi_proc_client (17248, 2023-10-20)
bin/tcp_echo_multi_proc_server (17168, 2023-10-20)
bin/tcp_echo_select_server (16808, 2023-10-20)
bin/tcp_echo_stdsvr (16968, 2023-10-20)
bin/tcp_echo_store_server (16936, 2023-10-20)
bin/tess.txt (22, 2023-10-20)
bin/thread1 (16128, 2023-10-20)
bin/thread2 (16304, 2023-10-20)
... ...

#### 缺点 - 调用 select 函数后常见的针对所有文件描述符的循环语句 - 每次调用 select 函数时都需要向该函数传递监视对象信息 其中最大的问题是每次都需要向操作系统传递监视对象的信息,意味着需要很多的用户态和内核态之间的切换。 #### 优点 - 兼容性好 因为改进的IO复用模型不具有兼容性,比如epoll只能在Linux下使用,Windows下的是IOCP;相反,大部分操作系统都支持 select 函数。 - 服务端接入者少时性能可能更优

近期下载者

相关文件


收藏者