![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
socket
文章平均质量分 85
macyang
Chance is waiting for prepared people and my Status is read the fucking source code.
展开
-
How to get a notification from Linux when the set of network interfaces changes
Hi all,My program sends (and receives) IPv6 multicast packets (ff02::blah)over all of the local Ethernet links; at startup it calls getifaddrs()to find out what Ethernet devices are available原创 2009-08-20 00:04:00 · 847 阅读 · 0 评论 -
Linux Kernel Tuning for C500k
Like the idea of working on large scale problems? We’re hiring talented engineers, and would love to chat with you – check it out!Note: Concurrency, as defined in this article, is the same a转载 2012-08-26 22:26:50 · 969 阅读 · 0 评论 -
Shutdown of Server Host
<br />When a Unix system is shut down, the init process normally sends the SIGTERM signal to all processes (we can catch this signal), waits some fixed amount of time (often between 5 and 20 seconds), and then sends the SIGKILL signal (which we原创 2010-09-15 14:10:00 · 538 阅读 · 0 评论 -
In TCP networking, what is a FIN_WAIT state?
FIN_WAIT_2 seems to occur when the server has an active connectionwith a client and it wants to shut down the TCP connection (probably inresponse to a normal application layer "exit"). The server原创 2010-01-05 22:05:00 · 756 阅读 · 0 评论 -
A TCP Tutorial
Table of ContentsTCP SummaryTCP HeaderTCP State Transition DiagramSliding WindowAdaptive RetransmissionCongestion ControlThis mini-tutorial provides a general ove原创 2010-01-05 15:01:00 · 1319 阅读 · 0 评论 -
The netstat Command
1.Displaying the Routing Table# netstat -nrKernel IP routing tableDestination Gateway Genmask Flags MSS Window irtt Iface127.0.0.1 * 255.255.255.255 U原创 2010-01-05 22:14:00 · 686 阅读 · 0 评论 -
epoll usage questions
From dw(http://www.developerweb.net), i saw the following questions about epoll, they are really good questions, please take some time to dig into them. (1): ryujinI have read the in原创 2009-12-28 20:26:00 · 868 阅读 · 0 评论 -
Calculating the Range of Addresses on Your Network
If someone gives you an IP address of 97.158.253.28 and a subnetmask of 255.255.255.248, how do you determine the network address andthe broadcast address, in other words the boundaries, of your原创 2009-11-28 00:51:00 · 631 阅读 · 0 评论 -
How TCP Establishes A Connection
TCP Is a Connection-Oriented Protocol TCP opens up a virtual connection between the client and serverprograms running on separate computers so that multiple and/or sporadicstreams of data ca原创 2009-11-27 23:45:00 · 756 阅读 · 0 评论 -
The Secret To 10 Million Concurrent Connections -The Kernel Is The Problem, Not The Solution
Now that we have the C10K concurrent connection problem licked, how do we level up and support 10 million concurrent connections? Impossible you say. Nope, systems right now are delivering 10 millio转载 2013-06-29 20:53:18 · 1208 阅读 · 0 评论