Lines Matching refs:SOCKET
51 pub type SOCKET = ::uintptr_t; typedef
481 pub fn listen(s: SOCKET, backlog: ::c_int) -> ::c_int; in listen() argument
482 pub fn accept(s: SOCKET, addr: *mut ::sockaddr, addrlen: *mut ::c_int) -> SOCKET; in accept() argument
483 pub fn bind(s: SOCKET, name: *const ::sockaddr, namelen: ::c_int) -> ::c_int; in bind() argument
484 pub fn connect(s: SOCKET, name: *const ::sockaddr, namelen: ::c_int) -> ::c_int; in connect() argument
485 pub fn getpeername(s: SOCKET, name: *mut ::sockaddr, nameln: *mut ::c_int) -> ::c_int; in getpeername() argument
486 pub fn getsockname(s: SOCKET, name: *mut ::sockaddr, nameln: *mut ::c_int) -> ::c_int; in getsockname() argument
488 s: SOCKET, in getsockopt() argument
495 s: SOCKET, in recvfrom() argument
503 s: SOCKET, in sendto() argument
511 s: SOCKET, in setsockopt() argument
517 pub fn socket(af: ::c_int, socket_type: ::c_int, protocol: ::c_int) -> SOCKET; in socket() argument