# Network

Send and receive data between your @boardname@ and another board.

## Cable

```cards
network.cableSendNumber(0);
network.onCableReceivedNumber(function (num) { })
```

## Infrared

```cards
network.infraredSendNumber(0);
network.onInfraredReceivedNumber(function (num) { })
```

## See also

[cable send number](/reference/network/cable-send-number),
[on cable received number](/reference/network/on-cable-received-number),
[infrared send number](/reference/network/infrared-send-number),
[on infrared received number](/reference/network/on-infrared-received-number)

```package
cable
infrared
```
