mirror of
https://github.com/berlin-open-wireless-lab/DAWN.git
synced 2025-03-09 15:40:12 +00:00
add socket as blocking
This commit is contained in:
parent
6fa7f62576
commit
f97ecbf806
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ int add_tcp_conncection(char *ipv4, int port) {
|
|||
return 0;
|
||||
}
|
||||
|
||||
sockfd = usock(USOCK_TCP | USOCK_NONBLOCK, ipv4, port_str);
|
||||
sockfd = usock(USOCK_TCP | USOCK_BLOCK, ipv4, port_str);
|
||||
|
||||
struct network_con_s tmp =
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue