Home
last modified time | relevance | path

Searched refs:bind_addr (Results 1 – 5 of 5) sorted by relevance

/libuv/docs/code/cgi/
H A Dmain.c72 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 Dmain.c105 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 Dudp.c1019 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
1120 bind_addr = (const struct sockaddr*) &uv_addr_ip4_any_; in uv__udp_try_send()
[all …]
H A Dtcp.c774 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 Dtest-poll.c104 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 20 milliseconds