Readonly
attributesAttributes of the transport.
Readonly
laddrLocal endpoint address.
Readonly
raddrRemote endpoint or multicast group address.
Readonly
rxIterable of incoming packets received through the transport.
Reopen the transport after it has failed.
The same transport or a new transport after it has been reconnected.
@ndn/l3face!Transport.ReopenNotSupportedError Thrown to indicate the transport does not support reopening.
Function to accept outgoing packet stream.
Iterable of outgoing packets sent through the transport.
Size of each packet cannot exceed .mtu
.
Promise that resolves when iterable is exhausted or rejects upon error.
Static
connectCreate a unicast transport.
Remote host or endpoint address (with other options) or existing socket.
Optional
port: numberRemote port. Default is 6363.
Static
multicastCreate a multicast transport.
Network interface and other options.
UDP socket transport.