Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/sockets/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Sockets 为什么TLnetcomponent套接字断开事件获胜';不触发?_Sockets_Events_Connection_Lazarus - Fatal编程技术网

Sockets 为什么TLnetcomponent套接字断开事件获胜';不触发?

Sockets 为什么TLnetcomponent套接字断开事件获胜';不触发?,sockets,events,connection,lazarus,Sockets,Events,Connection,Lazarus,我的表单上有一个TLNetcomponent,我有一个onDisconnect事件的断开过程,但当TLNetcomponent断开连接时,它不会触发。为什么?您使用面向连接的协议吗?是的,我使用面向连接的协议进行通信。

我的表单上有一个TLNetcomponent,我有一个onDisconnect事件的断开过程,但当TLNetcomponent断开连接时,它不会触发。为什么?

您使用面向连接的协议吗?是的,我使用面向连接的协议进行通信。