[executable] multicast test for multicast testing ASM & SSM sending and receiving
[可执行] 组播测试工具(指定源组播和任意源组播收发)
跨平台、系统编译请参照编译说明
二进制文件和EXE文件选择相应的文件进行运行
运行以下命令查看帮助
go run main.go -h
# or
./programe -h
main.go
./multicast
--broadcaster.go
--listener.go
下方给出了go编译的示例,你也可以使用build.sh编译构建
# generally
// windows
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o mping.exe main.go
// linux
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o mping main.go
// linux arm
CGO_ENABLED=0 GOOS=linux GOARCH=arm go build -o mping main.go
# or
# windows
SET CGO_ENABLED=0
SET GOOS=windows
SET GOARCH=amd64
go build -o mping.exe main.go
# linux
SET CGO_ENABLED=0
SET GOOS=linux
SET GOARCH=amd64
go build -o mping main.go
# linux arm
SET CGO_ENABLED=0
SET GOOS=linux
SET GOARCH=arm
go build -o mping main.go
v1.4.0
将程序适配go 1.18,增加go mod适配
v1.5.0
- complete the realtime send process
- add the Packet loss rate count function
- fix some bugs
v1.6.0
important fix bugs
v1.7.0
- complete the limit of sending packets
- fix the conflict of count and content(message)
- add the encoding choices of content(message)
v1.8.0 important add the lua interface hot-plugin to parse the udp data protocol
v1.8.1
important 适配go1.20,更新依赖消除安全告警
☞ On Windows, the ReadBatch and WriteBatch methods of PacketConn are not implemented.
☞ On Windows, the ReadBatch and WriteBatch methods of RawConn are not implemented.
☞ This package is not implemented on JS, NaCl and Plan 9.
☞ On Windows, the JoinSourceSpecificGroup, LeaveSourceSpecificGroup, ExcludeSourceSpecificGroup and IncludeSourceSpecificGroup methods of PacketConn and RawConn are not implemented.
☞ On Windows, the ReadFrom and WriteTo methods of RawConn are not implemented.
☞ On Windows, the ControlMessage for ReadFrom and WriteTo methods of PacketConn is not implemented.