Lines Matching refs:socket
3551 pub fn socket(domain: c_int, ty: c_int, protocol: c_int) -> c_int; in socket() function
3552 pub fn connect(socket: c_int, address: *const sockaddr, len: socklen_t) -> c_int; in connect()
3553 pub fn listen(socket: c_int, backlog: c_int) -> c_int; in listen()
3554 pub fn accept(socket: c_int, address: *mut sockaddr, address_len: *mut socklen_t) -> c_int; in accept()
3555 pub fn getpeername(socket: c_int, address: *mut sockaddr, address_len: *mut socklen_t) in getpeername()
3557 pub fn getsockname(socket: c_int, address: *mut sockaddr, address_len: *mut socklen_t) in getsockname()
3560 socket: c_int, in setsockopt()
3573 socket: c_int, in sendto()
3580 pub fn shutdown(socket: c_int, how: c_int) -> c_int; in shutdown()
3852 pub fn send(socket: c_int, buf: *const c_void, len: size_t, flags: c_int) -> ssize_t; in send()
3853 pub fn recv(socket: c_int, buf: *mut c_void, len: size_t, flags: c_int) -> ssize_t; in recv()
4119 socket: c_int, in recvfrom()
4131 socket: c_int, in bind()