Skip to main content

Crate hopr_session_server_forwarder

Crate hopr_session_server_forwarder 

Source
Expand description

HOPR session server that bridges TCP/UDP sockets from the Session Exit node to a destination.

Modules§

config

Structs§

HoprServerIpForwardingReactor
Implementation of HoprSessionServer that facilitates bridging of TCP or UDP sockets from the Session Exit node to a destination.

Enums§

ForwarderError
Error type for HoprServerIpForwardingReactor.

Constants§

HOPR_TCP_BUFFER_SIZE
Size of the buffer for forwarding data to/from a TCP stream.
HOPR_UDP_BUFFER_SIZE
Size of the buffer for forwarding data to/from a UDP stream.
HOPR_UDP_QUEUE_SIZE
Size of the queue (back-pressure) for data incoming from a UDP stream.
SERVICE_ID_LOOPBACK