示例#1
0
文件: Program.cs 项目: mtratsiuk/Labs
 static void Main(string[] args)
 {
     const int port = 9050;
     const int serverPort = 11000;
     const string hostname = "127.0.0.1";
     var client = new Client(hostname, port, serverPort);
 }
示例#2
0
 public ClientMessagePartsActive(int NumOfParts, ushort id, UDP.Client driver) : base(NumOfParts)
 {
     ID      = id;
     _Driver = driver;
     Parts   = new List <byte[]>();
 }