if (_myOscProperties.listeningPort() > 0) {
_myTcpServer = new TcpServer(this, _myOscProperties.listeningPort(), TcpServer.MODE_STREAM);
isTcpServer = true;
}
else if (_myOscProperties.remoteAddress().isvalid()) {
_myTcpClient = new TcpClient(
this,
_myOscProperties.remoteAddress().address(),
_myOscProperties.remoteAddress().port(),
TcpClient.MODE_STREAM);
isTcpClient = true;