Files
unisa_lab_reti_2013_2014/11.UPD.client-server-exam-database (COMPLETE)/readme~

17 lines
551 B
Plaintext

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