Use dedicated thread functions for certain tasks.
This commit is contained in:
parent
9703b42b3a
commit
d73794b11d
5 changed files with 288 additions and 241 deletions
2
server.h
2
server.h
|
@ -5,7 +5,7 @@
|
|||
#include <common.h>
|
||||
#include <client.h>
|
||||
|
||||
/* The serial-server scenario makes sense only for 1 connected client.
|
||||
/* The serial-server scenario only makes sense for 1 connected client.
|
||||
* Allow 1 extra connection to reject new clients with an explanation. */
|
||||
#define SERVER_MAX_CONNECTIONS 2
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue