一款简单易用的基础网络通讯组件库。

TcpClientBaseOnTcpConnecting 方法

准备连接的时候,此时已初始化Socket,但是并未建立Tcp连接。

覆盖父类方法,将不会触发ITcpConnectingPlugin插件。

Definition

命名空间: TouchSocket.Sockets
程序集: TouchSocket (在 TouchSocket.dll 中) 版本:4.1.4.7+7f7e1f78093c99347956e09330d5d7aca1d2bdf2
C#
protected virtual Task OnTcpConnecting(
	ConnectingEventArgs e
)

参数

e  ConnectingEventArgs
连接事件参数

返回值

Task

[缺少 "M:TouchSocket.Sockets.TcpClientBase.OnTcpConnecting(TouchSocket.Sockets.ConnectingEventArgs)" 的 <returns> 文档]

参见