摘要:
转自论坛:http://topic.csdn.net/u/20100603/13/ef349c6e-66ee-4129-a884-61c9091a9a99.htmlusing System.Net.NetworkInformation;/// <summary>/// 获取第一个可用的端口号/// </summary>/// <returns></returns>public static int GetFirstAvailablePort(){ int MAX_PORT = 6000; //系统tcp/udp端口数最大是65535 int BE 阅读全文
posted @ 2012-06-22 16:29
WHISHT
阅读(3614)
评论(0)
推荐(0)

浙公网安备 33010602011771号