readme

来自「ace开发环境 用来开发网络程序 其运用了设计模式、多平台、C++等多种知识」· 代码 · 共 19 行

TXT
19
字号
In this example SENDER sends a number (defined in Protocol.h, 10000by default) of messages  to the multicast group. Each message hasan application-level sequence number. RECEIVER tries to receive themand checks for damaged, lost, and reordered messages. Since reliablemulticast is used there should be no damaged or reordered messages.There could be some number of lost messages at the beginning,howevere (standard race condition).To run the example start a one or more RECEIVERS, e.g.,$ ./receiver 224.1.0.1:10000Then start one SENDER:$ ./sender 224.1.0.1:10000--Boris Kolpackov <boris@kolpackov.net>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?