Skip to content

ruansteve/multicast_test

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repo is forked from https://github.com/rg3/multicast_test. New features includes:

  1. ssm support
  2. add log file multicast_receive.log

How to Use

  1. run 'make' in source folder, it will gerenate 2 executable file: multicast_receive, multicast_send

  2. to send multicast: ./multicast_send 239.1.1.1 1234 192.168.1.132 4000 100 2000

    239.1.1.1 is multicast group as destination ip, 1234 is udp port

    192.168.1.132 is interface ip where this multicast packet is sent

    4000 is packet size, 100 is packet number, 2000 is send interval in usecond

  3. to receive ssm multicast:

    ./multicast_receive 239.1.1.1 : 1234 : 192.168.1.132 : 192.168.2.100

    239.1.1.1 is multicast group as destination ip, 1234 is udp port

    192.168.1.132 is source ip where this multicast packet is originated

    192.168.2.100 is interface ip where this multicast packet is incoming

About

UDP multicast test programs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 97.0%
  • Makefile 3.0%