Comments (1)
嗯,对的。
其实严格来说,是 recv 端 connect 之前的消息不会缓存。而默认 ipc::channel 只是个 sender,只有调用了 recv 之后才会自动升级为 receiver。
之前写的 Tutorial 太久没更新了,ipc 的 send 返回值也确实有点问题。
我更新了一下,修正了问题点(包括 Tutorial,改成了你的这段测试代码)。
你拉取最新的代码,再按新的示例调整一下即可。
from cpp-ipc.
Related Issues (20)
- 崩溃恢复问题,非正常退出之后,重新连接,会出现无法发送和接收的问题 HOT 17
- cpp-ipc库和单例模式八字不合的导致崩溃的问题 HOT 8
- 咨询一个问题 HOT 3
- receiver接收时sleep时间大于sender的发送间隔,会接收中断 HOT 2
- SHmem files danging HOT 2
- No ipc communication between gui(logged in user) and windows services(Local system account) HOT 9
- ipc::channel 在调试模式,打断点,容易会出现,收不到消息的情况,且数据比较大的会出现连接断开的现象; HOT 5
- Communication between Windows 11 and WSL2 HOT 1
- 在同一个进程内使用cpp-ipc通信,server端退出会卡住 HOT 1
- find_package(cpp-ipc CONFIG REQUIRED)找不到 HOT 4
- 请问怎么编译demo下面的例子啊 HOT 2
- c++ 模板代码阅读 HOT 3
- libipc/semaphore.h may cause conflict while including thread HOT 2
- imp 优化重构 HOT 2
- concur broadcast模式实现+ut+benchmark
- 如何支持gcc5呢 HOT 1
- channel 多生产者多消费模式 HOT 1
- 有几个问题想咨询一下 HOT 3
- 大数据公用的内存疑似存在数据被覆盖的情况 HOT 3
- maximum possible data_length. HOT 1
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 cpp-ipc.