插座TCP/IP八度
我在C中创建了一个套接字TCP/IP服务器:
在客户端,我使用脚本八度来实现套接字TCP/IP客户端,
即使脚本已终止,但服务器仍然打开,我想知道可以使连接保持生存的元素是什么?
我看到八度窗口仍然打开,其中还包含变量,我认为这就是使连接仍然活着的原因。但是我需要关于这个问题的一些解释。
我与Python的客户端一起做了同样的事情,但是服务器已关闭,即使我没有关闭插座。
I have created a socket TCP/IP server in C:
On the client-side, I used a script Octave to implement socket TCP/IP client
Even though the script has been terminated, but the server is still open, I would like to know what is the element which can keep the connection alive?
I saw that the Octave window is still open which contains the variables also, and I think that is the reason makes the connection is still alive. But I need some explanations about this problem.
I did the same things with a client in Python but the server is closed even I did not close the socket.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论