diff --git a/xup/xup.c b/xup/xup.c index b0813d77..8aea8c83 100644 --- a/xup/xup.c +++ b/xup/xup.c @@ -44,7 +44,7 @@ lib_recv(struct mod* mod, char* data, int len) { return 1; } - g_sleep(1); + g_tcp_can_recv(mod->sck, 10); } else { @@ -87,7 +87,7 @@ lib_send(struct mod* mod, char* data, int len) { return 1; } - g_sleep(1); + g_tcp_can_send(mod->sck, 10); } else {