Marmos
v juptune
v asn1
v lang
v ast
v Classes
v Enums
v ir
v parser
v Enums
v Structs
v core
v crypto
v keyexchange
v memory
v data
v alphabet
v buffer
v json
v builder
v parser
v Enums
v Structs
v serialise
v Structs
v Templates
v pem
v Enums
v Structs

Functions PosixTcpSocket.open

1
2
3
4
5

Documentation

Creates the underlying socket.

The following options are enabled: REUSEPORT; REUSEADDR; KEEPALIVE.

The socket is created a dual-stack IPv4-IPv6 socket.

Throws

Asserts that the socket isn't already open.

Any LinuxErrorreported by the socketsyscall.

Anything thrown by yield.

Returns

A Result