Comments (6)
那靠包头的 conv 区别用户,这个 conv 由你服务端分配,客户端带上来匹配,然后检测来源端口和地址是否匹配。
from kcp.
聊天机器人无实时性要求,请用 TCP
from kcp.
单纯的学习实践一下,后面可能做游戏方面的。
from kcp.
- 是的,一条连接一个 kcp 对象。
- 用 socket 编号去对应啊。
from kcp.
感谢skywin3000的回复,我有点小白,第2点没看懂
int recvfrom(int sockfd,void *buf,int len,unsigned int lags,struct sockaddr *from,int *fromlen);
我用socket接收数据,只有一个from,你说的编号是什么?我服务端只有一个udpscoket。
from kcp.
明白,感谢
from kcp.
Related Issues (20)
- Kcp 相比于 srt 或者 quic 的优势是什么,弱网下回有更好的表现吗 HOT 2
- 请问主动丢包有解决方案了么? HOT 4
- > 没看懂,你要主动丢包么?
- 请问大神,之前在下面这个issue里讨论的丢包问题,什么时候能支持一下呢? HOT 4
- 纯 python 版本实现,申请加入开源案例 HOT 2
- 包模式下如果rcvWnd<255 并且分包数量>=rcvWnd,接受端因为接受不到足够的数量组装完整包而卡住.
- 请教一个关于停止ikcp_update的方法
- 这里检测使用的buffer超过mtu就output一次是不是会导致seg分成两段 HOT 7
- 关于ikcp_check实现的疑问
- test.cpp 运行结果不符合预期 HOT 3
- Multiple multi-thread clients, one server HOT 2
- 关于上行卡顿,下行包流畅的问题 HOT 7
- 实时流应用场景,crash的疑问 HOT 4
- 关于源码中的慢启动和拥塞避免算法 HOT 3
- 发送端网络受限 ,接收端网络不好,kcp是否会带来改善? HOT 1
- 为每个kcp设置独立的allocator HOT 1
- 使用check机制并不能使cpu使用率下降 HOT 5
- KCP在高延迟环境下怎样使用才能满足大流量,而不是快速响应? HOT 3
- 我用的是C#版的Kcp,每次都得重新new一个对象,想着能重复利用起来,要重置哪些参数就能跟新的一样呢
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 kcp.