MrVito
V2EX  ›  问与答

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

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

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

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1113 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 18:37 · PVG 02:37 · LAX 11:37 · JFK 14:37
    ♥ Do have faith in what you're doing.