mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 03:51:50 +00:00
Merge pull request #633 from Xertis/dev
Make Nagle's algorithm configurable
This commit is contained in:
commit
fbba0e1415
5 changed files with 50 additions and 0 deletions
|
|
@ -93,6 +93,12 @@ socket:is_connected() --> bool
|
|||
|
||||
-- Возвращает адрес и порт соединения.
|
||||
socket:get_address() --> str, int
|
||||
|
||||
-- Возвращает состояние NoDelay
|
||||
socket:is_nodelay() --> bool
|
||||
|
||||
-- Устанавливает состояние NoDelay
|
||||
socket:set_nodelay(state: bool)
|
||||
```
|
||||
|
||||
```lua
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue