MrVito
V2EX  ›  问与答

在应用层心跳包的设计中,当确认心跳包已经没有了的时候,服务器是应该直接调用 close,还是先 shutdown write?

  •  
  •   MrVito · Apr 4, 2020 · 1802 views
    This topic created in 2318 days ago, the information mentioned may be changed or developed.

    单线程多进程的服务器模型,不存在一个 fd 被多个进程同时使用的情况。

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   833 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 20:53 · PVG 04:53 · LAX 13:53 · JFK 16:53
    ♥ Do have faith in what you're doing.