{"id":1146,"date":"2026-10-23T10:00:00","date_gmt":"2026-10-23T01:00:00","guid":{"rendered":"https:\/\/quantumsea.net\/?p=1146"},"modified":"2026-10-22T16:27:15","modified_gmt":"2026-10-22T07:27:15","slug":"qs-tcp-half-close-direction-20261022","status":"publish","type":"post","link":"https:\/\/quantumsea.net\/?p=1146","title":{"rendered":"TCP\u306e\u30cf\u30fc\u30d5\u30af\u30ed\u30fc\u30ba\u3001\u9001\u4fe1\u3092\u7d42\u3048\u3066\u3082\u5fdc\u7b54\u3092\u53d7\u3051\u53d6\u308c\u308b\u7406\u7531"},"content":{"rendered":"<p>\u8981\u6c42\u30c7\u30fc\u30bf\u3092\u9001\u308a\u7d42\u308f\u3063\u305f\u306e\u3067\u63a5\u7d9a\u3092\u9589\u3058\u305f\u3044\u3002\u3067\u3082\u3001\u76f8\u624b\u304c\u3053\u308c\u304b\u3089\u8fd4\u3059\u7d50\u679c\u306f\u53d7\u3051\u53d6\u308a\u305f\u3044\u3002TCP\u306b\u306f\u3001\u4e8c\u3064\u306e\u901a\u4fe1\u65b9\u5411\u3092\u5225\u3005\u306b\u7d42\u4e86\u3059\u308b\u30cf\u30fc\u30d5\u30af\u30ed\u30fc\u30ba\u3068\u3044\u3046\u8003\u3048\u65b9\u304c\u3042\u308a\u307e\u3059\u3002\u300c\u9001\u308b\u306e\u306f\u3053\u3053\u307e\u3067\u300d\u3068\u300c\u3082\u3046\u4f55\u3082\u53d7\u3051\u53d6\u3089\u306a\u3044\u300d\u3092\u533a\u5225\u3059\u308b\u3068\u3001\u7d42\u4e86\u51e6\u7406\u3067\u5fdc\u7b54\u3092\u53d6\u308a\u3053\u307c\u3059\u7406\u7531\u304c\u898b\u3048\u3066\u304d\u307e\u3059\u3002<\/p>\n<section class=\"influvetor-quick-summary\" aria-label=\"\u7c21\u5358\u306b\u307e\u3068\u3081\u308b\u3068\uff1f\">\n<p><strong>\u7c21\u5358\u306b\u307e\u3068\u3081\u308b\u3068\uff1f<\/strong><\/p>\n<ul>\n<li>TCP\u306f\u53cc\u65b9\u5411\u306e\u901a\u4fe1\u3067\u3001\u7247\u65b9\u306e\u9001\u4fe1\u304c\u7d42\u308f\u3063\u3066\u3082\u3001\u9006\u65b9\u5411\u306e\u30c7\u30fc\u30bf\u9001\u4fe1\u306f\u7d9a\u3051\u3089\u308c\u307e\u3059\u3002\u3053\u306e\u4e00\u65b9\u5411\u3060\u3051\u3092\u9589\u3058\u305f\u72b6\u614b\u304c\u30cf\u30fc\u30d5\u30af\u30ed\u30fc\u30ba\u3067\u3059\u3002<\/li>\n<li>Linux\u306eshutdown\u3067SHUT_WR\u3092\u6307\u5b9a\u3059\u308b\u3068\u9001\u4fe1\u5074\u3092\u7d42\u4e86\u3057\u3001\u53d7\u4fe1\u5074\u3092\u6b8b\u305b\u307e\u3059\u3002\u4e21\u65b9\u5411\u3092\u7981\u6b62\u3059\u308bSHUT_RDWR\u3068\u306f\u76ee\u7684\u304c\u7570\u306a\u308a\u307e\u3059\u3002<\/li>\n<li>\u9001\u4fe1\u306e\u7d42\u4e86\u3084TCP\u306e\u53d7\u9818\u78ba\u8a8d\u3060\u3051\u3067\u306f\u3001\u76f8\u624b\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304c\u51e6\u7406\u3092\u6210\u529f\u3055\u305b\u305f\u8a3c\u62e0\u306b\u306f\u306a\u308a\u307e\u305b\u3093\u3002\u5fc5\u8981\u306a\u7d50\u679c\u306f\u5fdc\u7b54\u3068\u3057\u3066\u78ba\u8a8d\u3057\u3001\u5f85\u3061\u6642\u9593\u3084\u7570\u5e38\u7d42\u4e86\u3092\u5225\u306b\u6271\u3044\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/section>\n<h2>\u4e00\u672c\u306e\u63a5\u7d9a\u306b\u3001\u4e8c\u65b9\u5411\u306e\u6d41\u308c\u304c\u3042\u308b<\/h2>\n<p>TCP\u63a5\u7d9a\u3092\u4e00\u672c\u306e\u7ba1\u306e\u3088\u3046\u306b\u601d\u3044\u6d6e\u304b\u3079\u308b\u3068\u3001\u9589\u3058\u308b\u64cd\u4f5c\u3082\u4e00\u3064\u306b\u898b\u3048\u307e\u3059\u3002\u3053\u3053\u3067\u306fA\u304b\u3089B\u3078\u306e\u30d0\u30a4\u30c8\u5217\u3068\u3001B\u304b\u3089A\u3078\u306e\u30d0\u30a4\u30c8\u5217\u3068\u3044\u3046\u3001\u4e8c\u65b9\u5411\u306e\u6d41\u308c\u306b\u5206\u3051\u3066\u8003\u3048\u307e\u3059\u3002\u305d\u308c\u305e\u308c\u306e\u9001\u308a\u624b\u304c\u3001\u3053\u308c\u4ee5\u4e0a\u9001\u308b\u30c7\u30fc\u30bf\u304c\u306a\u3044\u3053\u3068\u3092\u76f8\u624b\u3078\u77e5\u3089\u305b\u307e\u3059\u3002<\/p>\n<p>TCP\u306e\u4ed5\u69d8RFC 9293\u3067\u306f\u3001\u9001\u4fe1\u306e\u7d42\u4e86\u3092\u77e5\u3089\u305b\u305f\u5074\u304c\u3001\u76f8\u624b\u5074\u3082\u7d42\u4e86\u3059\u308b\u307e\u3067\u53d7\u4fe1\u3092\u7d9a\u3051\u308b\u52d5\u4f5c\u3092\u8aac\u660e\u3057\u3066\u3044\u307e\u3059\u3002\u4e00\u65b9\u304b\u3089FIN\u3092\u53d7\u3051\u53d6\u3063\u305f\u5074\u304c\u3001\u305d\u306e\u77ac\u9593\u306b\u81ea\u5206\u306eFIN\u3082\u8fd4\u3059\u3068\u306f\u9650\u308a\u307e\u305b\u3093\u3002\u81ea\u5206\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304c\u9001\u308b\u5185\u5bb9\u3092\u6b8b\u3057\u3066\u3044\u308c\u3070\u3001\u305d\u306e\u65b9\u5411\u306e\u901a\u4fe1\u3092\u7d9a\u3051\u3089\u308c\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u3088\u3046\u306b\u4e00\u65b9\u5411\u3060\u3051\u304c\u9589\u3058\u3089\u308c\u305f\u72b6\u614b\u304c\u3001\u30cf\u30fc\u30d5\u30af\u30ed\u30fc\u30ba\u3067\u3059\u3002\u63a5\u7d9a\u306e\u4e21\u7aef\u3067\u8a8d\u8b58\u304c\u98df\u3044\u9055\u3063\u3066\u3044\u308b\u300c\u30cf\u30fc\u30d5\u30aa\u30fc\u30d7\u30f3\u300d\u3068\u306f\u5225\u306e\u7528\u8a9e\u3067\u3059\u3002\u3053\u3053\u3067\u306f\u3001\u7247\u5074\u304c\u6545\u969c\u3057\u3066\u6d88\u3048\u305f\u4f8b\u3067\u306f\u306a\u304f\u3001\u901a\u4fe1\u306e\u7d42\u4e86\u3092\u65b9\u5411\u3054\u3068\u306b\u6271\u3046\u6b63\u5e38\u306a\u4f7f\u3044\u65b9\u3092\u8003\u3048\u307e\u3059\u3002<\/p>\n<h2>\u9001\u4fe1\u5b8c\u4e86\u3092\u3001\u5fdc\u7b54\u5f85\u3061\u306e\u958b\u59cb\u306b\u3059\u308b\u4f8b<\/h2>\n<p>\u4f8b\u3068\u3057\u3066\u3001A\u304c\u77ed\u3044\u5165\u529b\u30c7\u30fc\u30bf\u3092B\u3078\u9001\u308a\u3001B\u304c\u5165\u529b\u5168\u4f53\u3092\u53d7\u3051\u53d6\u3063\u3066\u304b\u3089\u8a08\u7b97\u7d50\u679c\u3092\u8fd4\u3059\u3001\u72ec\u81ea\u306e\u5c0f\u3055\u306a\u901a\u4fe1\u898f\u7d04\u3092\u8003\u3048\u307e\u3059\u3002\u3053\u306e\u4f8b\u3067\u306f\u3001A\u304b\u3089\u306e\u30b9\u30c8\u30ea\u30fc\u30e0\u306e\u7d42\u7aef\u3092\u300c\u5165\u529b\u306f\u3053\u308c\u3067\u5168\u90e8\u300d\u3068\u3044\u3046\u5370\u306b\u4f7f\u3046\u7d04\u675f\u306b\u3057\u307e\u3059\u3002HTTP\u306a\u3069\u306e\u65e2\u5b58\u30d7\u30ed\u30c8\u30b3\u30eb\u5168\u822c\u304c\u3053\u306e\u65b9\u5f0f\u3060\u3068\u3044\u3046\u610f\u5473\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>A\u304c\u30c7\u30fc\u30bf\u3092\u9001\u3063\u305f\u5f8c\u3001\u9001\u4fe1\u65b9\u5411\u3060\u3051\u3092\u7d42\u4e86\u3059\u308c\u3070\u3001B\u306f\u5165\u529b\u306e\u7d42\u308f\u308a\u3092\u8a8d\u8b58\u3067\u304d\u307e\u3059\u3002\u305d\u306e\u5f8cB\u304c\u7d50\u679c\u3092\u9006\u65b9\u5411\u3078\u9001\u308a\u3001A\u306f\u53d7\u3051\u53d6\u308a\u7d9a\u3051\u307e\u3059\u3002B\u3082\u9001\u4fe1\u3092\u7d42\u3048\u308b\u3068\u3001A\u306f\u5fdc\u7b54\u5074\u306e\u7d42\u7aef\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002A\u304c\u6700\u521d\u306e\u9001\u4fe1\u7d42\u4e86\u6642\u70b9\u3067\u53d7\u4fe1\u307e\u3067\u624b\u653e\u3057\u3066\u3057\u307e\u3046\u3068\u3001\u3053\u306e\u5f8c\u534a\u306e\u7d50\u679c\u3092\u53d7\u3051\u53d6\u308c\u306a\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n<figure style=\"margin:24px 0;max-width:100%;\"><img decoding=\"async\" src=\"https:\/\/quantumsea.net\/wp-content\/uploads\/2026\/10\/qs-tcp-half-close-direction-20261022-figure-500a4cc6d782.png\" alt=\"\u72ec\u81ea\u306e\u901a\u4fe1\u4f8b\u3002\u6700\u521d\u306bA\u304b\u3089B\u3078\u5165\u529b\u3092\u9001\u308a\u3001A\u306e\u9001\u4fe1\u65b9\u5411\u3092\u7d42\u4e86\u3059\u308b\u3002\u305d\u306e\u5f8c\u3082B\u304b\u3089A\u3078\u306e\u65b9\u5411\u306f\u958b\u3044\u3066\u304a\u308a\u3001\u7d50\u679c\u3092\u8fd4\u305b\u308b\u3002\u6700\u5f8c\u306bB\u306e\u9001\u4fe1\u65b9\u5411\u3082\u7d42\u4e86\u3059\u308b\u3002\" style=\"display:block;width:100%;height:auto;\"\/><figcaption>\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304b\u3089\u898b\u305f\u4e8c\u65b9\u5411\u306e\u72ec\u81ea\u30e2\u30c7\u30eb\u3002ACK\u3084\u518d\u9001\u3001TCP\u5185\u90e8\u306e\u72b6\u614b\u9077\u79fb\u3092\u3059\u3079\u3066\u63cf\u3044\u305f\u56f3\u3067\u306f\u306a\u3044\u3002<\/figcaption><\/figure>\n<p>\u672c\u7a3f\u306e\u30e2\u30c7\u30eb\u3067\u306f\u3001A\u304cABC\u3092\u9001\u3063\u305f\u5f8c\u306bA\u306e\u9001\u4fe1\u3092\u7d42\u4e86\u3057\u3001\u305d\u308c\u304b\u3089B\u304cRESULT\u3092\u8fd4\u305b\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u3044\u307e\u3059\u3002A\u304b\u3089\u8ffd\u52a0\u3067\u9001\u308d\u3046\u3068\u3059\u308b\u64cd\u4f5c\u306f\u3001\u30e2\u30c7\u30eb\u4e0a\u3067\u62d2\u5426\u3057\u307e\u3059\u3002\u3053\u308c\u306f\u65b9\u5411\u306e\u72ec\u7acb\u6027\u3092\u78ba\u304b\u3081\u308b\u4f8b\u3067\u3001\u5b9f\u6a5f\u306e\u30d1\u30b1\u30c3\u30c8\u4ea4\u63db\u3084\u5f85\u3061\u6642\u9593\u3092\u6e2c\u3063\u305f\u3082\u306e\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<h2>Linux\u3067\u306fshutdown\u306e\u65b9\u5411\u6307\u5b9a\u3092\u8aad\u3080<\/h2>\n<p>Linux\u306e\u30bd\u30b1\u30c3\u30c8API\u306b\u306f\u3001\u63a5\u7d9a\u306e\u5168\u90e8\u307e\u305f\u306f\u4e00\u90e8\u3092\u7d42\u4e86\u3055\u305b\u308b<code style=\"overflow-wrap:anywhere;\">shutdown(sockfd, how)<\/code>\u304c\u3042\u308a\u307e\u3059\u3002how\u306bSHUT_WR\u3092\u6307\u5b9a\u3059\u308b\u3068\u3001\u305d\u308c\u4ee5\u964d\u306e\u9001\u4fe1\u3092\u7981\u6b62\u3057\u307e\u3059\u3002SHUT_RD\u306f\u53d7\u4fe1\u3092\u3001SHUT_RDWR\u306f\u53d7\u4fe1\u3068\u9001\u4fe1\u306e\u4e21\u65b9\u3092\u7981\u6b62\u3059\u308b\u6307\u5b9a\u3067\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306e\u3088\u3046\u306b\u300c\u5165\u529b\u3092\u9001\u308a\u5207\u3063\u305f\u5f8c\u3082\u7d50\u679c\u306f\u8aad\u307f\u305f\u3044\u300d\u3068\u3044\u3046\u8a2d\u8a08\u3067\u691c\u8a0e\u3059\u308b\u306e\u306f\u3001\u9001\u4fe1\u5074\u3060\u3051\u3092\u7d42\u4e86\u3059\u308bSHUT_WR\u3067\u3059\u3002\u5358\u306b\u300c\u7d42\u4e86\u7528\u306e\u95a2\u6570\u3092\u547c\u3076\u300d\u3068\u899a\u3048\u308b\u3068\u3001\u4e21\u65b9\u5411\u3092\u9589\u3058\u308b\u6307\u5b9a\u3084\u3001\u30d5\u30a1\u30a4\u30eb\u8a18\u8ff0\u5b50\u3092\u89e3\u653e\u3059\u308bclose\u3068\u6df7\u540c\u3057\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002\u5229\u7528\u3059\u308b\u8a00\u8a9e\u3084\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u3001\u3069\u306eAPI\u3068\u65b9\u5411\u6307\u5b9a\u306b\u5bfe\u5fdc\u3057\u3066\u3044\u308b\u304b\u3082\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<p>shutdown\u306e\u623b\u308a\u5024\u3082\u70b9\u691c\u3057\u307e\u3059\u3002\u6210\u529f\u306f0\u3001\u5931\u6557\u306f\u22121\u3067\u3001errno\u304c\u7406\u7531\u3092\u793a\u3057\u307e\u3059\u3002\u63a5\u7d9a\u3055\u308c\u3066\u3044\u306a\u3044\u3001\u5bfe\u8c61\u304c\u30bd\u30b1\u30c3\u30c8\u3067\u306f\u306a\u3044\u306a\u3069\u306e\u6761\u4ef6\u3067\u5931\u6557\u3059\u308b\u305f\u3081\u3001\u547c\u3073\u51fa\u3057\u305f\u3068\u3044\u3046\u4e8b\u5b9f\u3060\u3051\u3092\u3001\u9001\u4fe1\u7d42\u4e86\u304c\u6b63\u5e38\u306b\u53d7\u7406\u3055\u308c\u305f\u8a3c\u62e0\u306b\u306f\u3057\u307e\u305b\u3093\u3002<\/p>\n<p>\u307e\u305f\u3001TCP\u4ed5\u69d8\u306b\u66f8\u304b\u308c\u305f\u62bd\u8c61\u7684\u306aCLOSE\u64cd\u4f5c\u3068\u3001\u500b\u3005\u306eOS\u3084\u8a00\u8a9e\u306eclose\u95a2\u6570\u3092\u3001\u540d\u524d\u3060\u3051\u3067\u540c\u4e00\u8996\u3057\u306a\u3044\u3053\u3068\u3082\u5927\u5207\u3067\u3059\u3002RFC\u306f\u3001CLOSE\u5f8c\u306b\u53d7\u4fe1\u3067\u304d\u306a\u3044\u5b9f\u88c5\u306e\u6271\u3044\u3082\u8a18\u3057\u3066\u3044\u307e\u3059\u3002\u5b9f\u969b\u306b\u4f7f\u3046API\u306e\u5951\u7d04\u3092\u8aad\u307f\u3001\u7247\u65b9\u5411\u7d42\u4e86\u3092\u610f\u56f3\u3069\u304a\u308a\u8868\u305b\u308b\u304b\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<h2>FIN\u306f\u3001\u696d\u52d9\u51e6\u7406\u306e\u6210\u529f\u901a\u77e5\u3067\u306f\u306a\u3044<\/h2>\n<p>TCP\u306e\u6b63\u5e38\u7d42\u4e86\u3068\u3001\u63a5\u7d9a\u3092\u6253\u3061\u5207\u308bRST\u306f\u533a\u5225\u3055\u308c\u307e\u3059\u3002\u901a\u5e38\u306eFIN\u3092\u7528\u3044\u305f\u7d42\u4e86\u3067\u306f\u3001\u5148\u306b\u9001\u3063\u305f\u30c7\u30fc\u30bf\u3082\u542b\u3081\u3066\u901a\u4fe1\u3092\u7d42\u3048\u308b\u624b\u9806\u304c\u9032\u307f\u307e\u3059\u3002\u4e00\u65b9\u3001\u7570\u5e38\u306a\u6253\u5207\u308a\u3092\u3001\u540c\u3058\u300c\u5165\u529b\u3092\u6700\u5f8c\u307e\u3067\u53d7\u3051\u53d6\u3063\u305f\u300d\u3068\u3044\u3046\u610f\u5473\u306b\u306f\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n<p>\u3055\u3089\u306b\u3001\u76f8\u624b\u306eTCP\u304c\u30c7\u30fc\u30bf\u3092\u53d7\u3051\u53d6\u3063\u305f\u3053\u3068\u3068\u3001\u305d\u306e\u5148\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304c\u8a08\u7b97\u30fb\u691c\u67fb\u30fb\u4fdd\u5b58\u3092\u6210\u529f\u3055\u305b\u305f\u3053\u3068\u306f\u3001\u7570\u306a\u308b\u5c64\u306e\u51fa\u6765\u4e8b\u3067\u3059\u3002\u305f\u3068\u3048\u3070B\u304c\u5165\u529b\u3092\u53d7\u3051\u53d6\u3063\u305f\u5f8c\u306b\u5185\u5bb9\u306e\u691c\u67fb\u3067\u62d2\u5426\u3059\u308b\u306a\u3089\u3001A\u304c\u77e5\u308b\u3079\u304d\u306a\u306e\u306fB\u306e\u5fdc\u7b54\u3067\u3059\u3002A\u306e\u9001\u4fe1\u304c\u7d42\u308f\u3063\u305f\u3053\u3068\u3060\u3051\u3067\u306f\u3001\u7d50\u679c\u306e\u6210\u529f\u30fb\u5931\u6557\u3092\u5224\u65ad\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n<p>\u3053\u306e\u305f\u3081\u3001\u5b9f\u969b\u306e\u901a\u4fe1\u898f\u7d04\u3067\u306f\u3001\u6b63\u5e38\u306a\u7d50\u679c\u3001\u76f8\u624b\u304c\u8fd4\u3057\u305f\u5931\u6557\u3001\u901a\u4fe1\u9014\u4e2d\u306e\u7570\u5e38\u3001\u671f\u9650\u5207\u308c\u3092\u533a\u5225\u3057\u3066\u304a\u304f\u3068\u6574\u7406\u3057\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002\u30cf\u30fc\u30d5\u30af\u30ed\u30fc\u30ba\u306f\u9006\u65b9\u5411\u3092\u6b8b\u3059\u4ed5\u7d44\u307f\u3067\u3042\u308a\u3001\u76f8\u624b\u304c\u5fc5\u305a\u5fdc\u7b54\u3059\u308b\u4fdd\u8a3c\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u5fdc\u7b54\u3092\u5f85\u3064\u671f\u9650\u3082\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u5074\u306e\u76ee\u7684\u306b\u5408\u308f\u305b\u3066\u6c7a\u3081\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h2>\u7d42\u4e86\u3067\u533a\u5207\u308b\u65b9\u5f0f\u3092\u9078\u3076\u524d\u306b<\/h2>\n<p>\u4eca\u56de\u306e\u4f8b\u306f\u3001\u5165\u529b\u306e\u7d42\u308f\u308a\u3092\u4e00\u65b9\u5411\u306e\u30b9\u30c8\u30ea\u30fc\u30e0\u306e\u7d42\u7aef\u3067\u8868\u3057\u3066\u3044\u307e\u3059\u3002\u540c\u3058\u9001\u4fe1\u65b9\u5411\u3067\u6b21\u306e\u8981\u6c42\u3082\u7d9a\u3051\u3066\u9001\u308a\u305f\u3044\u306a\u3089\u3001\u3053\u306e\u65b9\u5f0f\u306f\u305d\u306e\u307e\u307e\u4f7f\u3048\u307e\u305b\u3093\u3002\u9577\u3055\u3084\u533a\u5207\u308a\u3092\u901a\u4fe1\u5185\u5bb9\u306e\u4e2d\u306b\u6301\u305f\u305b\u308b\u306a\u3069\u3001\u5225\u306e\u898f\u5247\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002TCP\u306f\u30d0\u30a4\u30c8\u5217\u3092\u904b\u3076\u306e\u3067\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u8981\u6c42\u5358\u4f4d\u306f\u305d\u306e\u4e0a\u3067\u5b9a\u7fa9\u3057\u307e\u3059\u3002<\/p>\n<p>\u8a2d\u8a08\u3084\u969c\u5bb3\u8abf\u67fb\u3067\u306f\u3001A\u306e\u9001\u4fe1\u3001B\u306e\u53d7\u4fe1\u3001B\u306e\u9001\u4fe1\u3001A\u306e\u53d7\u4fe1\u3092\u5225\u3005\u306b\u4e26\u3079\u3001\u300c\u3069\u3053\u3092\u7d42\u3048\u3001\u3069\u3053\u3092\u307e\u3060\u4f7f\u3046\u306e\u304b\u300d\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002\u9001\u4fe1\u7d42\u4e86\u5f8c\u3082\u8aad\u3080\u5fc5\u8981\u304c\u3042\u308b\u306e\u304b\u3001\u4f55\u3092\u3082\u3063\u3066\u51e6\u7406\u6210\u529f\u3068\u3059\u308b\u306e\u304b\u3001\u3044\u3064\u5f85\u3064\u306e\u3092\u3084\u3081\u308b\u306e\u304b\u3002\u3053\u306e\u4e09\u3064\u304c\u660e\u78ba\u306b\u306a\u308b\u3068\u3001\u7d42\u4e86\u51e6\u7406\u3092\u5358\u306a\u308b\u5f8c\u7247\u4ed8\u3051\u3067\u306f\u306a\u304f\u3001\u901a\u4fe1\u898f\u7d04\u306e\u4e00\u90e8\u3068\u3057\u3066\u6271\u3048\u307e\u3059\u3002<\/p>\n<h2>\u51fa\u5178\u30fb\u53c2\u8003\u8cc7\u6599<\/h2>\n<ul>\n<li><a href=\"https:\/\/www.rfc-editor.org\/rfc\/rfc9293.html#section-3.6\">RFC 9293 \u2014 Transmission Control Protocol<\/a>\uff082022\u5e748\u6708\uff09\u3001\u7b2c3.6\u7bc0\u30fb3.6.1\u7bc0\u306e\u7d42\u4e86\u3068\u30cf\u30fc\u30d5\u30af\u30ed\u30fc\u30ba\u3001\u7b2c3.7\u7bc0\u306e\u30d0\u30a4\u30c8\u30b9\u30c8\u30ea\u30fc\u30e0\u3068\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u5883\u754c\u3002\u672c\u6587\u306f\u3053\u306e\u7248\u306e\u898f\u5b9a\u3092\u53c2\u7167\u3057\u3001\u3059\u3079\u3066\u306e\u5b9f\u88c5\u306e\u52d5\u4f5c\u3092\u5b9f\u8a3c\u3059\u308b\u3082\u306e\u3067\u306f\u306a\u3044\u3002<\/li>\n<li><a href=\"https:\/\/man7.org\/linux\/man-pages\/man2\/shutdown.2.html\">Linux man-pages 6.19 \u2014 shutdown(2)<\/a>\uff1a\u65b9\u5411\u6307\u5b9a\u3001\u623b\u308a\u5024\u3001\u30a8\u30e9\u30fc\u3002\u63b2\u8f09HTML\u30922026\u5e7410\u670822\u65e5\u306b\u78ba\u8a8d\u3002ABC\/RESULT\u306e\u4f8b\u3068\u56f3\u306f\u72ec\u81ea\u30e2\u30c7\u30eb\u3002<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u8981\u6c42\u30c7\u30fc\u30bf\u3092\u9001\u308a\u7d42\u308f\u3063\u305f\u306e\u3067\u63a5\u7d9a\u3092\u9589\u3058\u305f\u3044\u3002\u3067\u3082\u3001\u76f8\u624b\u304c\u3053\u308c\u304b\u3089\u8fd4\u3059\u7d50\u679c\u306f\u53d7\u3051\u53d6\u308a\u305f\u3044\u3002TCP\u306b\u306f\u3001\u4e8c\u3064\u306e\u901a\u4fe1\u65b9\u5411\u3092\u5225\u3005\u306b\u7d42\u4e86\u3059\u308b\u30cf\u30fc\u30d5\u30af\u30ed\u30fc\u30ba\u3068\u3044\u3046\u8003\u3048\u65b9\u304c\u3042\u308a\u307e\u3059\u3002\u300c\u9001\u308b\u306e\u306f\u3053\u3053\u307e\u3067\u300d\u3068\u300c\u3082\u3046\u4f55\u3082\u53d7\u3051\u53d6\u3089\u306a\u3044\u300d\u3092\u533a\u5225 [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":1143,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":false,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[29],"tags":[244],"class_list":["post-1146","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-communications-networking","tag-linux"],"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/quantumsea.net\/wp-content\/uploads\/2026\/10\/qs-tcp-half-close-direction-20261022-featured-343461213ab9.png","_links":{"self":[{"href":"https:\/\/quantumsea.net\/index.php?rest_route=\/wp\/v2\/posts\/1146","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/quantumsea.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/quantumsea.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/quantumsea.net\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/quantumsea.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1146"}],"version-history":[{"count":1,"href":"https:\/\/quantumsea.net\/index.php?rest_route=\/wp\/v2\/posts\/1146\/revisions"}],"predecessor-version":[{"id":1151,"href":"https:\/\/quantumsea.net\/index.php?rest_route=\/wp\/v2\/posts\/1146\/revisions\/1151"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/quantumsea.net\/index.php?rest_route=\/wp\/v2\/media\/1143"}],"wp:attachment":[{"href":"https:\/\/quantumsea.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1146"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/quantumsea.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1146"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/quantumsea.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1146"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}