mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +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
|
|
@ -44,6 +44,8 @@ local Socket = {__index={
|
|||
is_alive=function(self) return network.__is_alive(self.id) end,
|
||||
is_connected=function(self) return network.__is_connected(self.id) end,
|
||||
get_address=function(self) return network.__get_address(self.id) end,
|
||||
set_nodelay=function(self, nodelay) return network.__set_nodelay(self.id, nodelay or false) end,
|
||||
is_nodelay=function(self) return network.__is_nodelay(self.id) end,
|
||||
}}
|
||||
|
||||
local WriteableSocket = {__index={
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue