Comments (3)
你这应该是在socket线程中调用stop了。
可以通过组件的析构函数自动断开连接。
from hp-socket.
感谢指导。我是在一个DLL中使用HP-Socket并封装成导出的C方式函数,这个DLL是嵌入在其他应用程序中调用的,所以主程序是否在线程中调用DLL中的输出函数是没办法限制和更改调用方式的。这种方式应该如何使用HP-Socket呢?
from hp-socket.
试试在 DllMain() 的 DLL_PROCESS_DETACH
事件中执行Stop。
from hp-socket.
Related Issues (20)
- unity中使用HPSocket.Net (C# 版) il2cpp打包遇上的问题 HOT 1
- EnumHostIPAddresses 在安卓无效 HOT 1
- iocp的accept默认有点大(m_dwAcceptSocketCount==300) HOT 1
- 可否帮忙集成到vcpkg HOT 2
- client如何通过http代理方式连接server? HOT 2
- 错误码有对照表吗 HOT 1
- UDPCast 连接端不应该绑定服务端的端口 HOT 1
- RWLock版本错误 HOT 1
- 开启端口和关闭端口卡顿耗时 HOT 1
- m_iPending断言触发 HOT 6
- ucrt.lib(api-ms-win-crt-heap-l1-1-0.dll) : error LNK2005: _malloc 已经在 HPSocket.lib(jemalloc.obj) 中定义 HOT 3
- UDP 丢包 HOT 2
- VS2015单文档程序静态编译用release-win32调试,会报错(使用VS2015编译的release静态库HPSocketLIB) HOT 3
- 求助pull模式 HOT 1
- UDP通讯日志错误求助 HOT 1
- 使用UdpServer 请问哪些情况会触发 OnClose 事件 HOT 1
- http GetContentLength错误 HOT 1
- 心跳包问题,易语言开发 HOT 4
- Invalid request code 然后程序崩溃 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hp-socket.