jiazx0107@163.com
2023-05-17 620eab6cca2bc9ef9ea6d3067a0a5ba1deadbd1c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package com.ld.igds.protocol.utl;
 
/**
 * 工具类
 *
 * @author Andy
 */
public class ServerUtils {
 
    /**
     * 生成TCP连接的KEY
     *
     * @param ip
     * @param port
     * 
     * @return
     */
    public static String getServerKey(String ip, Integer port) {
        return ip + ":" + port;
    }
 
}