...
This commit is contained in:
parent
825f180141
commit
ce95bd3b7c
1 changed files with 2 additions and 3 deletions
|
@ -182,14 +182,13 @@ void srv_on_conn(ServerEventArgs* e)
|
|||
|
||||
void* server_task(void* e)
|
||||
{
|
||||
|
||||
|
||||
server_init(&srv,5555,2);
|
||||
kprintf("created server\n");
|
||||
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");
|
||||
|
||||
while(1)
|
||||
|
|
Loading…
Add table
Reference in a new issue