TFtpServer constructor

TFtpServer(
  1. dynamic address, {
  2. int port = 69,
})

Implementation

TFtpServer(this.address, {this.port = 69}) {
  _controller = StreamController<TFtpServerSocket>(sync: true);
  RawDatagramSocket.bind(address, port).then(_init, onError: _initError);
}