V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
daniaoa
V2EX  ›  问与答

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

  •  
  •   daniaoa · Dec 30, 2022 · 1021 views
    This topic created in 1222 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   ·   2813 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 58ms · UTC 13:53 · PVG 21:53 · LAX 06:53 · JFK 09:53
    ♥ Do have faith in what you're doing.