Completato esercizio di gestioen database client-server. Archivio.txt e comandi aggiungi nome voto,verifica nome.

This commit is contained in:
2014-05-30 23:33:12 +02:00
parent 94be6252dd
commit 619c07cae2
25 changed files with 286 additions and 136 deletions

View File

@@ -0,0 +1,16 @@
SONO STATI CALCOALTI ERRORI SU READ,WRITE,CONNECT,SIGNALS
IL SERVER E' RICORSIVO E LE READ/WRITE SONO BLOCCANTI (SENZA SELECT)
PROTOCOLLO USATO TCP
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