_io_socket

func _io_socket(domain: Int, socktype: Int, proto: Int) 'io -> Int

Creates a host socket; returns its descriptor or a negative errno.

View Source
pub func _io_socket(domain: Int, socktype: Int, proto: Int) 'io -> Int {
	'io(request: .socket(domain, socktype, proto))
}