Searched refs:new_ip_socket (Results 1 – 4 of 4) sorted by relevance
1 use crate::sys::unix::net::{new_ip_socket, socket_addr};11 let socket = new_ip_socket(addr, libc::SOCK_DGRAM); in bind()
5 pub(crate) fn new_ip_socket(addr: SocketAddr, socket_type: libc::c_int) -> io::Result<libc::c_int> { in new_ip_socket() function
12 use crate::sys::windows::net::{init, new_ip_socket, socket_addr};16 new_ip_socket(addr, SOCK_DGRAM).and_then(|socket| { in bind()
25 pub(crate) fn new_ip_socket(addr: SocketAddr, socket_type: c_int) -> io::Result<SOCKET> { in new_ip_socket() function