mirror of
https://gitee.com/wujiawei1207537021/wu-lazy-cloud-network.git
synced 2025-06-07 13:57:56 +08:00
20 lines
585 B
Java
20 lines
585 B
Java
package com.luck.client;
|
|
|
|
import org.springframework.boot.SpringApplication;
|
|
|
|
|
|
public class ClientStart {
|
|
|
|
public static void main(String[] args) throws Exception {
|
|
if (null != args && args.length == 3) {
|
|
int realPort = Integer.parseInt(args[2]);
|
|
int serverPort = Integer.parseInt(args[1]);
|
|
String serverIp = args[0];
|
|
Constant.serverIp = serverIp;
|
|
Constant.serverPort = serverPort;
|
|
Constant.realPort = realPort;
|
|
}
|
|
// 连接代理服务
|
|
ProxySocket.connectProxyServer();
|
|
}
|
|
} |