...
This commit is contained in:
parent
5d2b31e198
commit
aef29d7484
1 changed files with 4 additions and 1 deletions
|
@ -183,11 +183,14 @@ void srv_on_conn(ServerEventArgs* e)
|
|||
void* server_task(void* e)
|
||||
{
|
||||
kprintf("created server\n");
|
||||
|
||||
|
||||
server_init(&srv,5555,2);
|
||||
|
||||
srv._OnRead = srv_on_read;
|
||||
srv._OnDisconnect = srv_on_disc;
|
||||
srv._OnConnect = srv_on_conn;
|
||||
|
||||
server_init(&srv,5555,2);
|
||||
|
||||
shelldebugprint("Server is ready...\n");
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue