Shuxia Ning
2024-11-06 adf8dc1c7cae1b12f486dcdb3d7daf4a5a59ec52
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace IStation
{
    /// <summary>
    /// IP与Port的结构
    /// </summary>
    public struct TcpIPAndPort
    {
        public TcpIPAndPort(string ip, int port)
        {
            this.IP = ip;
            this.Port = port;
        }
 
        /// <summary>
        /// IP
        /// </summary>
        public string IP { get; set; }
 
        /// <summary>
        /// 端口
        /// </summary>
        public int Port { get; set; }
    }
}