From 8a4d25025850b0dceb992c1b82f9295fecc517ff Mon Sep 17 00:00:00 2001 From: Gowa2017 <33367355+Gowa2017@users.noreply.github.com> Date: Tue, 4 Jan 2022 00:17:54 +0800 Subject: just not need a error impl --- meta/3rd/skynet/library/skynet/socketchannel.lua | 5 ----- 1 file changed, 5 deletions(-) (limited to 'meta/3rd/skynet') 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, -}) ---创建一个新的套接字频道 ---返回结构: -- cgit v1.2.3