Implementato esercizio con UDP connessi.
This commit is contained in:
16
11.UPD.client-server-exam-database (COMPLETE)/readme~
Normal file
16
11.UPD.client-server-exam-database (COMPLETE)/readme~
Normal file
@@ -0,0 +1,16 @@
|
||||
|
||||
SONO STATI CALCOALTI ERRORI SU READ,WRITE,CONNECT,SIGNALS
|
||||
IL SERVER RISPONDE A SOLO UNA ISTANZA E LE READ/WRITE SONO BLOCCANTI (SENZA SELECT)
|
||||
PROTOCOLLO USATO UDP CONNESSO - 1 a 1
|
||||
|
||||
il server gestisce un file archivio.txt
|
||||
|
||||
il client puo inviare:
|
||||
BYE - per chiudere la connessione
|
||||
AGGIUNGI <NOME> <VOTO> - per far aggiungere un nome al server
|
||||
VERIFICA <NOME> - per verificare se un nome è presente nel database del server
|
||||
|
||||
il server risponde:
|
||||
BYE - A BYE
|
||||
AGGIUNTO - AL COMANDO AGGIUNGI DEL CLIENT
|
||||
EVENTUALI INFORMAZIONI SUI DATI - AL COMADNO VERIFICA
|
||||
Reference in New Issue
Block a user