SocketListener

SocketListener[]

表示由 SocketListen 创建的一个套接口监听器.

更多信息

范例

基本范例  (3)

监听可用的套接口,获取 SocketListener

获取服务器套接口:

获取监听器的选项:

停止监听,关闭套接口:

监听可用的套接口:

获取服务器的套接口:

在开始监听套接口时,改变 HandlerFunctionsKeys 的值:

停止监听,关闭为该监听器自动打开的套接口:

监听可用的套接口,并获取打开的连接到它的底层套接口:

获取自动打开的 SocketObject

连接到客户端:

停止监听,关闭套接口:

Wolfram Research (2017),SocketListener,Wolfram 语言函数,https://reference.wolfram.com/language/ref/SocketListener.html.

文本

Wolfram Research (2017),SocketListener,Wolfram 语言函数,https://reference.wolfram.com/language/ref/SocketListener.html.

CMS

Wolfram 语言. 2017. "SocketListener." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/SocketListener.html.

APA

Wolfram 语言. (2017). SocketListener. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/SocketListener.html 年

BibTeX

@misc{reference.wolfram_2024_socketlistener, author="Wolfram Research", title="{SocketListener}", year="2017", howpublished="\url{https://reference.wolfram.com/language/ref/SocketListener.html}", note=[Accessed: 21-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_socketlistener, organization={Wolfram Research}, title={SocketListener}, year={2017}, url={https://reference.wolfram.com/language/ref/SocketListener.html}, note=[Accessed: 21-November-2024 ]}