Comments (9)
能提供一个可重现的demo吗
from hpsocket.net.
from hpsocket.net.
能提供个重现的demo我才好测试
from hpsocket.net.
from hpsocket.net.
你好!我写了一个demo,可以复现问题。
demo链接
项目中附带了几张截图和一个文档,里面记录了一些问题!
from hpsocket.net.
ok 我现在看看
from hpsocket.net.
已经找到问题了, 是因为设置了连接超时时间, 定时器的回调函数中有个指针释放位置不正确的bug导致的这个问题, 稍后我马上发布新的nuget包, 请更新到最新版本.
另外
6、_agent.Connect("127.0.0.1", 5555, out connId),这种调用方法有可能出现调用返回后connId还没有分配地址的情况吗(分配的时间比返回时间晚)?项目中出现过这条语句后紧接着使用connId变量导致报错:空引用异常;但是报错在vs中查看时connId却不是空引用了;
7、问一个问题,使用您这个库时输出目录会自动附带上HPSOCKET4C.dll吗?我创建了两个项目一个会自动附带一个不会自动附带,是有哪里进行设置吗?
8、HPSOCKET4C.dll如何改变在输出目录的引用位置,只能和执行文件在同级目录吗?我想放到指定目录,但是尝试环境变量和指定privatePath都不行;
6: 这个不会, 如果能用稍后的最新版本复现才能查出问题, 否则我怀疑跟定时器是同个问题, 再观察下吧.
7: nuget包是会附带dll到输出目录的, 如果你是在core或者.net5运行程序没有问题, 却看不到dll, 应该是在exe的runtimes\win-x64 或 runtimes\win-x86 目录下, 这个.net core / .net 5 与.net framework是不同的, 可以自行查资料, 当然如果runtimes\* 目录下没有 ,放exe目录也是可以的
8: 实际上你不用动源码, .net core或.net5项目参考 [项目exe].deps.json的配置, 网上查资料, .net framework的项目只要你的dll在系统或当前用户的环境变量目录或者exe目录均可以被找到, 当然.net core或.net 5的项目同理
from hpsocket.net.
from hpsocket.net.
如果你有dll目录的疑问,可以加我的qq,我给你远程看一下.
qq:1013706666
from hpsocket.net.
Related Issues (20)
- 请问如何使用HttpEasyClient里面的SendWsMessage,有例子吗 HOT 4
- 在CentOS7中OnClose事件和在Window系统中不一样 HOT 6
- support unity iOS android? HOT 1
- 断开连接触发的OnMessage事件,如果直接返回HandleResult.Ok会有延迟 HOT 3
- 用mask判断消息类型合理吗
- In .net5 enabled "PublishSingleFile" result in build fail HOT 4
- Error message: Core dumped HOT 1
- arm 下无法加载libhpsocket4c HOT 7
- error on private readonly ITcpServer _server = new TcpServer(); HOT 3
- 你好,我的程序使用HttpsEasyAgent类会出现内存溢出,是我的调用方式有问题吗 HOT 1
- epoll HOT 1
- client.Connect()后,未连接成功,IsConnected也显示为true HOT 1
- use websocketclient connect to wss url HOT 1
- HPSocket. Net code import unity project Error HOT 1
- unity中使用HPSocket.Net il2cpp打包遇上的问题 HOT 1
- When WebSocket uses SSL, the client cannot connect properly HOT 1
- "The HPSocket.net library throws an error when running on Raspberry Pi OS Lite 64bit ARM64 environment." HOT 1
- udpclient调用Dispose方法不返回 HOT 1
- How to send big data packets 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 hpsocket.net.