Socket creates a new socket. If a nil Socket _and_ a nil error is returned, it means that the protocol is not supported. A non-nil error should only be returned if the protocol is supported, but an error occurs during creation.
(t *kernel.Task, stype linux.SockType, protocol int)
| 312 | // protocol is not supported. A non-nil error should only be returned |
| 313 | // if the protocol is supported, but an error occurs during creation. |
| 314 | Socket(t *kernel.Task, stype linux.SockType, protocol int) (*vfs.FileDescription, *syserr.Error) |
| 315 | |
| 316 | // Pair creates a pair of connected sockets. |
| 317 | // |
no outgoing calls