TcpSocketConnection.constructorWithPrint constructor

TcpSocketConnection.constructorWithPrint(
  1. String ip,
  2. int port,
  3. bool enable
)

Initializes che class itself

  • @param the ip server's ip you are trying to connect to
  • @param the port servers's port you are trying to connect to
  • @param enable if set to true, then events will be printed in the console

Implementation

TcpSocketConnection.constructorWithPrint(String ip, int port, bool enable){
  _ipAddress=ip;
  _portAddress=port;
  _logPrintEnabled=enable;
}