Readonly
attributesAttributes of the transport.
Protected
Readonly
connReadonly
rxIterable 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.
Static
connectCreate a transport and connect to remote endpoint.
Optional
host: string | {} & TcpTransport.OptionsRemote host (default is localhost) or endpoint address (with other options).
Remote port. Default is 6363.
Other options.
TCP socket transport.