关闭指定的socket套接字对象
命名空间:
HslCommunication.Core
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static void CloseSocket(
Socket socket
)
Public Shared Sub CloseSocket (
socket As Socket
)
public:
static void CloseSocket(
Socket^ socket
)
static member CloseSocket :
socket : Socket -> unit
参数
- socket
- 类型:System.Net.SocketsSocket
套接字对象
参见