Function arceos_posix_api::sys_listen
source · pub fn sys_listen(socket_fd: c_int, backlog: c_int) -> c_int
Available on crate feature
net
only.Expand description
Listen for connections on a socket
Return 0 if success.
pub fn sys_listen(socket_fd: c_int, backlog: c_int) -> c_int
net
only.Listen for connections on a socket
Return 0 if success.