mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 21:11:50 +00:00
make Nagle's algorithm configurable
This commit is contained in:
parent
e3da256c5d
commit
b6ca7cf918
5 changed files with 50 additions and 0 deletions
|
|
@ -72,6 +72,12 @@ socket:is_connected() --> bool
|
|||
|
||||
-- Возвращает адрес и порт соединения.
|
||||
socket:get_address() --> str, int
|
||||
|
||||
-- Возвращает состояние NoDelay
|
||||
socket:get_nodelay() --> bool
|
||||
|
||||
-- Устанавливает состояние NoDelay
|
||||
socket:set_nodelay(state: bool)
|
||||
```
|
||||
|
||||
```lua
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue