daniaoa
V2EX  ›  问与答

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

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