Searched refs:bind_addr (Results 1 – 5 of 5) sorted by relevance
/libuv/docs/code/cgi/ |
H A D | main.c | 72 struct sockaddr_in bind_addr; in main() local 73 uv_ip4_addr("0.0.0.0", 7000, &bind_addr); in main() 74 uv_tcp_bind(&server, (const struct sockaddr *)&bind_addr, 0); in main()
|
/libuv/docs/code/multi-echo-server/ |
H A D | main.c | 105 struct sockaddr_in bind_addr; in main() local 106 uv_ip4_addr("0.0.0.0", 7000, &bind_addr); in main() 107 uv_tcp_bind(&server, (const struct sockaddr *)&bind_addr, 0); in main()
|
/libuv/src/win/ |
H A D | udp.c | 1019 const struct sockaddr* bind_addr; in uv__udp_connect() local 1024 bind_addr = (const struct sockaddr*) &uv_addr_ip4_any_; in uv__udp_connect() 1026 bind_addr = (const struct sockaddr*) &uv_addr_ip6_any_; in uv__udp_connect() 1030 err = uv__udp_maybe_bind(handle, bind_addr, addrlen, 0); in uv__udp_connect() 1070 const struct sockaddr* bind_addr; in uv__udp_send() local 1075 bind_addr = (const struct sockaddr*) &uv_addr_ip4_any_; in uv__udp_send() 1077 bind_addr = (const struct sockaddr*) &uv_addr_ip6_any_; in uv__udp_send() 1081 err = uv__udp_maybe_bind(handle, bind_addr, addrlen, 0); in uv__udp_send() 1100 const struct sockaddr* bind_addr; in uv__udp_try_send() local 1119 bind_addr = (const struct sockaddr*) &uv_addr_ip4_any_; in uv__udp_try_send() [all …]
|
H A D | tcp.c | 774 const struct sockaddr* bind_addr; in uv__tcp_try_connect() local 789 bind_addr = (const struct sockaddr*) &uv_addr_ip4_any_; in uv__tcp_try_connect() 791 bind_addr = (const struct sockaddr*) &uv_addr_ip6_any_; in uv__tcp_try_connect() 795 err = uv__tcp_try_bind(handle, bind_addr, addrlen, 0); in uv__tcp_try_connect()
|
/libuv/test/ |
H A D | test-poll.c | 104 static uv_os_sock_t create_bound_socket (struct sockaddr_in bind_addr) { in create_bound_socket() argument 124 r = bind(sock, (const struct sockaddr*) &bind_addr, sizeof bind_addr); in create_bound_socket()
|
Completed in 24 milliseconds