V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
爱意满满的作品展示区。
Darnix
V2EX  ›  分享创造

分享一个自用的 kcptun 启动器

  •  
  •   Darnix ·
    Darnix · 2016-09-24 09:38:58 +08:00 · 5622 次点击
    这是一个创建于 2742 天前的主题,其中的信息可能已经有所发展或是发生改变。

    开源分享自己写的一个 kcptun 启动器,有需要的可以看看 :)

    https://github.com/Darnix/KcptunLauncher

    4 条回复    2016-09-25 00:03:40 +08:00
    hst001
        1
    hst001  
       2016-09-24 14:30:55 +08:00
    你这是加了 UI 的吧,我一直都是直接开机启动一个脚本,无声无息的就翻了
    fy
        2
    fy  
       2016-09-24 17:48:48 +08:00
    #include "windows.h"

    int main(int argc, char *argv[]) {
    WinExec("kcptun-clt.exe -r \"remote_ip:port\" -l \":port\" -mode fast2", SW_HIDE);
    return 0;
    }


    Windows 上自行编译。子系统,入口点 main ,然后拖到“启动”里面去
    Linux 不需要这么搞,就不提了
    fy
        3
    fy  
       2016-09-24 17:49:14 +08:00
    漏了半句:子系统 windows
    Darnix
        4
    Darnix  
    OP
       2016-09-25 00:03:40 +08:00
    @hst001
    @fy
    我这个只为了方便直接管理多个 kcptun 服务端,然后写了个 WinForm 程序而已,本质上还是需要 kcptun 的程序的
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3716 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 51ms · UTC 10:40 · PVG 18:40 · LAX 03:40 · JFK 06:40
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.