samples/c/server/main.c - 服务端如何实现定时(如:1分钟1次)向客户端发送数据?
QingruiHuang opened this issue · comments
hug commented
服务端如何实现定时(如:1分钟1次)向客户端发送数据?
郑树新 commented
可以创建一个独立的协程或协程定时器。
hug commented
给个例程参考一下
The high performance c/c++ coroutine/fiber library for Linux/FreeBSD/MacOS/Windows, supporting select/poll/epoll/kqueue/iouring/iocp/windows GUI
QingruiHuang opened this issue · comments
服务端如何实现定时(如:1分钟1次)向客户端发送数据?
可以创建一个独立的协程或协程定时器。
给个例程参考一下