Function arceos_posix_api::sys_socket

source ·
pub fn sys_socket(domain: c_int, socktype: c_int, protocol: c_int) -> c_int
Available on crate feature net only.
Expand description

Create an socket for communication.

Return the socket file descriptor.