Skip to content

能否编译一个win版 #6

@fyhong

Description

@fyhong

我通过源码编译后,运行会出错
F:\ap-kcp-master\target\release>ap-kcp-tun.exe -c -l 192.168.1.1:8118 -r mysesrver.com:9001 -p 30819
[2022-05-13T14:25:49Z INFO ap_kcp_tun] ap-kcp-tun client
[2022-05-13T14:25:49Z INFO ap_kcp_tun] listening on 192.168.1.1:8118, tunneling via myserver.com:9001
[2022-05-13T14:25:49Z INFO ap_kcp_tun] algorithm: aes-256-gcm
[2022-05-13T14:25:49Z INFO ap_kcp_tun] settings: KcpConfig { max_interval: 100, min_interval: 10, nodelay: false, mtu: 1372, mss: 1353, fast_rexmit_thresh: 16, fast_ack_thresh: 32, congestion: LossTolerance, max_rexmit_time: 2048, min_rto: 20, send_window_size: 4096, recv_window_size: 4096, timeout: 30000, keep_alive_interval: 1500, name: "" }
thread 'main' panicked at 'called Result::unwrap() on an Err value: Os { code: 10014, kind: Uncategorized, message: "系统检测到在一个调用中尝试使用指针参数时的无效指针地址。" }', src/tun.rs:258:39
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions