server & client test

This commit is contained in:
Carl-Benedikt Krüger 2011-07-12 13:44:22 +02:00
parent 5816fafa47
commit 055e7967f3

View file

@ -177,7 +177,7 @@ void* server_task(void* e)
int i = 0;
int tmp1,tmp2;
char buff[256];
char buff[32];
Server srv;
@ -186,7 +186,8 @@ void* server_task(void* e)
srv._OnRead = srv_on_read;
srv._OnDisconnect = srv_on_disc;
srv._OnConnect = srv_on_conn;
sleep(2);
sleep(5);
kpritnf("sending...");
srv_sendBuffer(&srv,0,"Hello you!",sizeof("Hello you!"));
sleep(1);