Home
last modified time | relevance | path

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

/libuv/docs/code/udp-dhcp/
H A Dmain.c9 uv_udp_t send_socket; variable
114 uv_udp_init(loop, &send_socket); in main()
117 uv_udp_bind(&send_socket, (const struct sockaddr *)&broadcast_addr, 0); in main()
118 uv_udp_set_broadcast(&send_socket, 1); in main()
125 …uv_udp_send(&send_req, &send_socket, &discover_msg, 1, (const struct sockaddr *)&send_addr, on_sen… in main()

Completed in 3 milliseconds