Home
Sign Up
Sign In
V2EX
›
问与答
在应用层心跳包的设计中,当确认心跳包已经没有了的时候,服务器是应该直接调用 close,还是先 shutdown write?
MrVito
·
Apr 4, 2020
· 1885 views
This topic created in 2348 days ago, the information mentioned may be changed or developed.
单线程多进程的服务器模型,不存在一个 fd 被多个进程同时使用的情况。
No Comments Yet
心跳
shutdown
write
close
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
5444 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 23ms ·
UTC 08:40
·
PVG 16:40
·
LAX 01:40
·
JFK 04:40
♥ Do have faith in what you're doing.
❯