Module tcp

Source
Expand description

A TCP socket manager actor that allows other systems to request TCP connections. The socket manager will manage listeners for different ports, accept connections, unwrap SSL sessions (if requested), and pass networked data to requesters.

Structs§

OutboundPacket
Set of bytes that should be sent over a TCP socket
TlsOptions
Options required for TLS session handling

Enums§

RequestFailureReason
Reasons why the request to listen for TCP connections can fail
TcpSocketRequest
Requests by callers to the TCP socket manager
TcpSocketResponse
Response messages that the TCP socket manager may send back

Functions§

start_socket_manager
Starts a new instance of a socket manager task. A socket manager can be requested to open ports on behalf of another system. If the port is successfully opened it will begin listening for TCP connections on that port, and then manage the reading and writing of network traffic for that connection.