mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-30 19:18:53 +08:00
move socket_helper.c into tkc
This commit is contained in:
parent
6ff3299471
commit
6158136f30
@ -209,7 +209,7 @@ int tcp_accept(int sock) {
|
||||
}
|
||||
|
||||
ret_t socket_set_blocking(int sock, bool_t blocking) {
|
||||
return_value_if_fail(sock >= 0, RET_BAD_PRARAMS);
|
||||
return_value_if_fail(sock >= 0, RET_BAD_PARAMS);
|
||||
|
||||
#ifdef _WIN32
|
||||
unsigned long mode = blocking ? 0 : 1;
|
||||
|
Loading…
Reference in New Issue
Block a user