Skip to main content

accept_peer_on

Function accept_peer_on 

Source
pub async fn accept_peer_on(
    role: MeshUnderlayRole,
    transport_key: &UnderlayTransportKey,
    auth_token: &UnderlayAuthToken,
    bind: SocketAddr,
) -> Result<LinuxUnderlayListener, MeshUnderlayError>
Expand description

Tip 6: underlay UDP accept on an explicit bind (may be non-loopback for mesh peers). Application HTTP+WS stays on loopback --bridge-listen; this only accepts the encrypted underlay path. HQ DialOnly still refused.