ITcpServiceBaseAddListen 方法
添加一个地址监听。支持在服务器运行过程中动态添加。
命名空间: TouchSocket.Sockets程序集: TouchSocket (在 TouchSocket.dll 中) 版本:3.0.0+ccaf96084d09f972257496d1dd63b8ba3c1e44f0
void AddListen(
TcpListenOption options
)
Sub AddListen (
options As TcpListenOption
)
abstract AddListen :
options : TcpListenOption -> unit
参数
- options TcpListenOption
- 监听选项,包含地址和端口等信息。