czt
2026-02-05 b8598019220af92927fd34b25261b4d3553edd03
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;
    }
 
 
}