mirror of
https://github.com/binlaab/nanofiles.git
synced 2026-07-01 16:37:21 +02:00
quemen redes
This commit is contained in:
@@ -10,7 +10,15 @@ public class NFServerThread extends Thread {
|
||||
* (un socket distinto para "conversar" con un cliente)
|
||||
*/
|
||||
|
||||
|
||||
|
||||
private Socket socket;
|
||||
|
||||
public NFServerThread(Socket externalSocket, NFServerState state) {
|
||||
socket = externalSocket;
|
||||
state.updateState(socket);
|
||||
}
|
||||
|
||||
public void run() {
|
||||
NFServer.serveFilesToClient(socket);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user