mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 21:41:50 +00:00
add socket:available() --> int
This commit is contained in:
parent
e94b70fd3a
commit
13de581b4b
5 changed files with 17 additions and 0 deletions
|
|
@ -54,6 +54,9 @@ socket:recv(
|
|||
-- Closes the connection
|
||||
socket:close()
|
||||
|
||||
-- Returns the number of data bytes available for reading
|
||||
socket:available() --> int
|
||||
|
||||
-- Checks that the socket exists and is not closed.
|
||||
socket:is_alive() --> bool
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue