**This is an old revision of the document!**

Component: Tunnel

This component is provided by the linked card.

This card is similar to the network card's component, but as it is only point-to-point, no ports can be configured, and the connection is always open.

Component name: tunnel.

  • send(data...)
    Sends the specified data to the card this one is linked to.
  • maxPacketSize():number
    Gets the maximum packet size (config setting).
  • getChannel():string
    Gets the tunnel address of the link card. This is also available in linkChannel using an inventory controller and getting the stack from an inventory slot.

This card generates modem_message signals of the same format network cards do.