[][src]Function nc::socket

pub fn socket(domain: i32, sock_type: i32, protocol: i32) -> Result<i32, Errno>

Create an endpoint for communication.