daniaoa
V2EX  ›  问与答

大佬们, tcp 持续连接问题。

  •  
  •   daniaoa · Dec 30, 2022 · 1429 views
    This topic created in 1403 days ago, the information mentioned may be changed or developed.
    有么有什么命令和软件能持续连接 ip 的其中一个端口,windows 系统的,我用 telnet 好像不会持续连接,过一段时间就断了,并且如果断了会自动再次连上,
    3 replies  •  2022-12-30 19:10:48 +08:00
    liuguangxuan
    liuguangxuan
    Dec 30, 2022
    1
    可以自己写一个。
    MeteorCat
    MeteorCat
    Dec 30, 2022 via Android
    2
    用 java 随便写个 netty 连接 ip ,在加个 schedule 定时检查连接就行了,随便用其他语言也能实现
    ThirdFlame
    ThirdFlame
    Dec 30, 2022
    3
    nc/telnet 再写个循环
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1483 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 23:26 · PVG 07:26 · LAX 15:26 · JFK 18:26
    ♥ Do have faith in what you're doing.