mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 11:31:49 +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.
|
||||
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
|
||||
```
|
||||
|
||||
## Другое
|
||||
|
||||
```lua
|
||||
-- Ищет свободный для использования порт.
|
||||
network.find_free_port() --> int
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue