public Transfer() { OptionsLoader ol = new OptionsLoader(); int port = 8081; if (ol.Port > 0) { port = ol.Port; } else { // The default in case nothing else is set port = 8081; } this.tcpl = new MyTcpListener(port); }
public Transfer() { OptionsLoader ol = new OptionsLoader(); int port = 8081; if (ol.Port > 0) { port = ol.Port; } else { // The default in case nothing else is set port = 8081; } this.tcpl = new MyTcpListener(port); }