APP
YYC
2026-02-12 8ac3affc79126b0b8ec6f4f7e80b73a6b4a4634b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package com.fzzy.igds.iot.server;
 
/**
 * @Description 工具类
 * @Author CZT
 * @Date 2025/11/11 18:07
 */
public class ServerUtils {
 
 
    /**
     * 生成TCP连接的KEY
     *
     * @param ip
     * @param port
     * @return
     */
    public static String getServerKey(String ip, Integer port) {
        return ip + ":" + port;
    }
 
 
}