Beispiel #1
0
 public LftpClientController(RdtConfig config)
 {
     Listener = RdtStream.CreateListener(config);
     //Ip = endPoint?.Address ?? IPAddress.Loopback;
     Config = config;
 }
Beispiel #2
0
 public LftpServer(RdtConfig config, int port = 0)
 {
     Listener = RdtStream.CreateListener(config, port);
     Config   = config;
     Run().GetAwaiter();
 }