mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-10 07:45:05 -04:00
Updated API Internet (markdown)
parent
07881558c4
commit
bacf3ca395
@ -23,8 +23,9 @@ This library wraps functionality of Internet cards.
|
|||||||
Note for internet.open, you may also do this:
|
Note for internet.open, you may also do this:
|
||||||
```lua
|
```lua
|
||||||
local handle = internet.open(...)
|
local handle = internet.open(...)
|
||||||
handle:read(10)
|
data = handle:read(10)
|
||||||
handle:write("1234")
|
handle:write("1234")
|
||||||
|
handle:close()
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user