czt
2026-02-11 f68f5bf6ae56c18561eb8ccba9fb9693f128551c
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;
    }
 
 
}