Package-level declarations

Types

Link copied to clipboard

Primitive: Accept an incoming connection on the asynchronous server socket referenced by the specified handle, using the supplied name for a newly connected socket. Create a new fiber to respond to the asynchronous completion of the operation; the fiber will run at the specified priority. If the operation succeeds, then eventually start the new fiber to apply the success function to a handle on the new socket. If the operation fails, then eventually start the new fiber to apply the failure function to the numeric error code. Answer the new fiber.

Link copied to clipboard

Primitive: Answer the socket address of the AsynchronousServerSocketChannel referenced by the specified handle.

Link copied to clipboard

Primitive: Close the AsynchronousServerSocketChannel referenced by the specified handle.

Link copied to clipboard

Primitive: Bind the AsynchronousServerSocketChannel referenced by the specified handle to an IPv4 address and port. The bytes of the address are specified in network byte order, i.e., big-endian.

Link copied to clipboard

Primitive: Bind the AsynchronousServerSocketChannel referenced by the specified handle to an IPv6 address and port. The bytes of the address are specified in network byte order, i.e., big-endian.

Link copied to clipboard

Primitive: Open an AsynchronousServerSocketChannel. Answer a handle that uniquely identifies the socket.

Link copied to clipboard

Primitive: Set the socket options for the asynchronous server socket referenced by the specified handle.

Link copied to clipboard

Primitive: Close the AsynchronousSocketChannel referenced by the specified handle.

Link copied to clipboard

Primitive: Bind the AsynchronousSocketChannel referenced by the specified handle to an IPv4 address and port. The bytes of the address are specified in network byte order, i.e., big-endian.

Link copied to clipboard

Primitive: Connect the AsynchronousSocketChannel referenced by the specified handle to an IPv4 address and port. Create a new fiber to respond to the asynchronous completion of the operation; the fiber will run at the specified priority. If the operation succeeds, then eventually start the new fiber to apply the success function. If the operation fails, then eventually start the new fiber to apply the failure function to the numeric error code. Answer the new fiber.

Link copied to clipboard

Primitive: Bind the AsynchronousSocketChannel referenced by the specified handle to an IPv6 address and port. The bytes of the address are specified in network byte order, i.e., big-endian.

Link copied to clipboard

Primitive: Connect the AsynchronousSocketChannel referenced by the specified handle to an IPv6 address and port. Create a new fiber to respond to the asynchronous completion of the operation; the fiber will run at the specified priority. If the operation succeeds, then eventually start the new fiber to apply the success function. If the operation fails, then eventually start the new fiber to apply the failure function to the numeric error code. Answer the new fiber.

Link copied to clipboard

Primitive: Answer the socket address of the local peer of the AsynchronousSocketChannel referenced by the specified handle.

Link copied to clipboard

Primitive: Open an AsynchronousSocketChannel. Answer a handle that uniquely identifies the socket.

Link copied to clipboard

Primitive: Initiate an asynchronous read from the socket referenced by the specified handle. Create a new fiber to respond to the asynchronous completion of the operation; the fiber will run at the specified priority. If the operation succeeds, then eventually start the new fiber to apply the success function to the result tuple and a boolean that is true if the socket is exhausted. If the operation fails, then eventually start the new fiber to apply the failure function to the numeric error code. Answer the new fiber.

Link copied to clipboard

Primitive: Answer the socket address of the remote peer of the AsynchronousSocketChannel referenced by the specified handle.

Link copied to clipboard

Primitive: Set the socket options for the asynchronous socket channel referenced by the specified handle.

Link copied to clipboard

Primitive: Disallow further reading from the asynchronous socket referenced by the specified handle.

Link copied to clipboard

Primitive: Disallow further writing to the asynchronous socket referenced by the specified handle.

Link copied to clipboard

Primitive: Initiate an asynchronous write from the socket referenced by the specified handle. Create a new fiber to respond to the asynchronous completion of the operation; the fiber will run at the specified priority. If the operation succeeds, then eventually start the new fiber to apply the success function. If the operation fails, then eventually start the new fiber to apply the failure function to the numeric error code. Answer the new fiber.