mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 03:53:09 +00:00
writeblock
This commit is contained in:
@@ -38,6 +38,10 @@ function socket.write(...)
|
||||
c.write(fd, ...)
|
||||
end
|
||||
|
||||
function socket.writeblock(...)
|
||||
c.writeblock(fd, ...)
|
||||
end
|
||||
|
||||
function socket.close()
|
||||
if fd then
|
||||
c.close(fd)
|
||||
|
||||
Reference in New Issue
Block a user