Added basic server functionality from ex 2 lesson 11

This commit is contained in:
elvis
2022-03-09 19:24:49 +01:00
parent c0372c44e2
commit d0a4e4411e
9 changed files with 869 additions and 0 deletions

12
lib/utils/message.h Normal file
View File

@ -0,0 +1,12 @@
#ifndef _MESSAGE_H
#define _MESSAGE_H
/**
* tipo del messaggio
*/
typedef struct msg {
int len;
char *str;
} msg_t;
#endif