HyServerSocketService constructor

HyServerSocketService(
  1. String _port, [
  2. String? _host
])

Create the object ad connect using _host and _port. If _host is not set, the ipaddress of the device is guessed.

Implementation

HyServerSocketService(this._port, [this._host]) {
  checkConnection();
}