mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-14 07:21:51 +00:00
update doc/*/scripting/builtins/libnetwork.md
This commit is contained in:
parent
1f1cb22e4d
commit
37494b4fe6
2 changed files with 14 additions and 0 deletions
|
|
@ -132,3 +132,10 @@ network.get_total_upload() --> int
|
||||||
-- in bytes.
|
-- in bytes.
|
||||||
network.get_total_download() --> int
|
network.get_total_download() --> int
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Other
|
||||||
|
|
||||||
|
```lua
|
||||||
|
-- Looks for a free port to use.
|
||||||
|
network.find_free_port() --> int
|
||||||
|
```
|
||||||
|
|
|
||||||
|
|
@ -197,3 +197,10 @@ network.get_total_upload() --> int
|
||||||
-- в байтах.
|
-- в байтах.
|
||||||
network.get_total_download() --> int
|
network.get_total_download() --> int
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Другое
|
||||||
|
|
||||||
|
```lua
|
||||||
|
-- Ищет свободный для использования порт.
|
||||||
|
network.find_free_port() --> int
|
||||||
|
```
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue