Home
last modified time | relevance | path

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

/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/
H A Dsocket_addr.rs18 AF_INET, AF_INET6, IN6_ADDR, IN6_ADDR_0, IN_ADDR, IN_ADDR_0, SOCKADDR, SOCKADDR_IN,
29 pub(crate) fn as_ptr(&self) -> *const SOCKADDR { in as_ptr() argument
30 (self as *const SocketAddrWin).cast::<SOCKADDR>() in as_ptr()
H A Dwinapi.rs174 pub fn bind(s: SOCKET, name: *const SOCKADDR, namelen: c_int) -> c_int; in bind() argument
192 pub fn connect(s: SOCKET, name: *const SOCKADDR, namelen: c_int) -> c_int; in connect() argument
262 pub struct SOCKADDR { struct
370 impl_clone!(SOCKADDR);