#define MSG_SDS_DEL 'a'
#define MSG_SDS_UPD 'u'
#define MSG_SPEC 'c'
+#define MSG_SHUTDOWN 'h'
#define LOOPDELAY 100
debug("Receiving a spec request");
spec_send();
break;
+ case MSG_SHUTDOWN:
+ debug("Shutdown received");
+ reset();
case '\0':
debug("Server closed connection");
break;