Creates a pair of connected sockets.
fn socketpair(domain: i32, ty: i32, proto: i32, sv: &mut [i32; 2]) -> i32
| Name | Description |
|---|---|
| domain | The domain of the sockets. |
| ty | The type of the sockets. |
| proto | The protocol of the sockets. |
| sv | The place where the sockets will be stored. |
Returns success or an error value.