Updated Component Modem (markdown)

Alex Martin 2014-04-14 11:36:24 -07:00
parent b1714b6ed8
commit 0dc5dc4326

@ -5,7 +5,7 @@ Callbacks:
- `isWireless(): boolean`
Returns whether this modem is capable of sending wireless messages.
- `maxPacketSize(): number`
Returns the maximum packet size for sending messages via network cards. Defaults to 8192. You can change this in the OpenComputer configuration file.
Returns the maximum packet size for sending messages via network cards. Defaults to 8192. You can change this in the OpenComputers configuration file.
- `isOpen(port: number): boolean`
Returns whether the specified "port" is currently being listened on. Messages only trigger signals when they arrive on a port that is open.
- `open(port: number): boolean`