Added maxPacketSize()

CokaCola 2014-03-10 08:10:34 -07:00
parent c7bfcb238c
commit 7c15c38b97

@ -4,6 +4,8 @@ Component name: `modem`.
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, doesn't apply to HTTP traffic. You can change this in the OpenComputer 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`