make Nagle's algorithm configurable

This commit is contained in:
Xertis
2025-09-30 23:45:00 +03:00
parent e3da256c5d
commit b6ca7cf918
5 changed files with 50 additions and 0 deletions
+6
View File
@@ -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