![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
OS
2的10次方
这个作者很懒,什么都没留下…
展开
-
Linux Centos
How to config the network with DHCP ? Maybe Different from Linux OS. In Centos6.5 vi /etc/sysconfig/network-scripts/ifcfg-eth0 ONBOOT=yes service network restart Done!If u wanna do it manually see a原创 2015-06-30 22:05:39 · 228 阅读 · 0 评论 -
Unix Network 2
I/O model1block IO (BIO) 2Non-block IO (NIO) 3IO multiplexing (select/ pselect, poll/ epoll) 4Sigal IO 5asynchronized IO (AIO)IO are divided two parts first is waiting the data ready second is cop原创 2015-07-05 13:55:42 · 264 阅读 · 0 评论 -
Unix Network 3
Process/Thread VS connections (socket)sockfd = accept();if the server use fork/ pthread_create, then the process/thread : socket = 1:1; fork is an expensive cost, use the pthread.if (fork() == 0){原创 2015-07-05 14:08:20 · 206 阅读 · 0 评论 -
Unix Network 1
TCP/IP Connection Errors what will happen when the server crash?client repeat transmission 12 times, 9 min totally. waiting for ACK. error ETIMEOUT.if the server restartedclient receive RST. error原创 2015-07-05 13:40:31 · 216 阅读 · 0 评论