diff options
Diffstat (limited to 'meta/3rd/skynet')
-rw-r--r-- | meta/3rd/skynet/library/skynet/socketchannel.lua | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/meta/3rd/skynet/library/skynet/socketchannel.lua b/meta/3rd/skynet/library/skynet/socketchannel.lua index dfeeb207..a1c39bb5 100644 --- a/meta/3rd/skynet/library/skynet/socketchannel.lua +++ b/meta/3rd/skynet/library/skynet/socketchannel.lua @@ -2,11 +2,6 @@ ---socket channel 在创建时,并不会立即建立连接。如果你什么都不做,那么连接建立会推迟到第一次 request 请求时。这种被动建立连接的过程会不断的尝试,即使第一次没有连接上,也会重试。 ---@class socketchannel local socket_channel = {} -socket_channel.error = setmetatable({}, { - __tostring = function() - return "[Error: socket]" - end, -}) ---创建一个新的套接字频道 ---返回结构: |