Comments (9)
udp还是tcp socket?
from zltoolkit.
from zltoolkit.
tcp
from zltoolkit.
之前调用peer_port和peer_ip相关接口后 会把数据缓存下来 现在去掉这个逻辑。
因为先closeSocket操作放在onError之后了
from zltoolkit.
那就是预期行为吗
from zltoolkit.
那就是预期行为吗
不是啊 触发onError以及Seession的析构函数时 都是可以获取到对端ip信息的
只要socket fd有效 都能获取到
from zltoolkit.
我这里可以必现,根据你的描述,我看能不能描述更清楚一些
from zltoolkit.
这个是收到tcp reset时导致的 eof没这个问题,这个bug已经修复了 请查看最新代码
from zltoolkit.
感谢反馈!
from zltoolkit.
Related Issues (20)
- ThreadPool.h 中线程优先级设置问题 HOT 9
- Socket::flushData函数,多线程数据发送顺序问题 HOT 3
- 服务重新启动,客户端重连bug HOT 5
- static_pointer_cast的使用 HOT 1
- 测试发现Tcpserver运行过程中会崩溃 HOT 7
- UdpServer clone策略问题 HOT 12
- [BUG] onAccept异常出现了write事件 HOT 2
- 进程(调用Debug版版本库)退出时异常 HOT 9
- 多个线程打印同一个日志时,由于日志优化会导致写的日志不对 HOT 1
- ssl 支持多线程 问题求助 HOT 2
- Threadpool的cpu负载统计好像有问题 HOT 1
- udp数据可能被误读 HOT 1
- QQ群没有找到
- error C2988: 不可识别的模板声明/定义 HOT 1
- Poller和Timer 问题
- 请问:ubuntu16.04编译不通过,什么原因? HOT 1
- 关于poller线程的讨论
- 关于TcpServer主动退出的问题 HOT 1
- zltookkit使用
- 技术咨询:modifyEvent提示Invalid argument HOT 3
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 zltoolkit.