mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-22 02:53:09 +00:00
add new socket message WARNING
This commit is contained in:
@@ -32,6 +32,11 @@ function SOCKET.error(fd, msg)
|
||||
close_agent(fd)
|
||||
end
|
||||
|
||||
function SOCKET.warning(fd, size)
|
||||
-- size K bytes havn't send out in fd
|
||||
print("socket warning", fd, size)
|
||||
end
|
||||
|
||||
function SOCKET.data(fd, msg)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user