ReadonlyattributesAttributes of the transport.
Protected ReadonlyconnReadonlyrxIterable of incoming packets received through the transport.
Reopen the transport by making a new connection with the same options.
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.
StaticconnectCreate a transport and connect to remote endpoint.
Optionalhost: string | {} & TcpTransport.OptionsRemote host (default is localhost) or endpoint address (with other options).
Remote port. Default is 6363.
Other options.
TCP socket transport.