mirror of
https://github.com/binlaab/nanofiles.git
synced 2026-07-01 19:46:30 +02:00
gg
This commit is contained in:
@@ -160,6 +160,12 @@ public class NFController {
|
||||
* servidor escucha conexiones de otros peers así como la lista de ficheros
|
||||
* disponibles.
|
||||
*/
|
||||
|
||||
//Comprobamos si ya estamos sirviendo
|
||||
if (controllerPeer.getServerPort() != 0) {
|
||||
System.err.println("* Ya existe un servidor de ficheros activo en el puerto " + controllerPeer.getServerPort());
|
||||
break;
|
||||
}
|
||||
if (NanoFiles.testModeTCP) {
|
||||
controllerPeer.testTCPServer();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user