cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
749
Views
0
Helpful
2
Replies

how to multicast or broadcast a packet ?

pranav2794
Level 1
Level 1

Is there any command in Linux/Unix or Windows by which I can broadcast a packet or multicast over a LAN or over a WAN ?

If yes do tell me in brief about them.

2 Replies 2

andrew.prince
Level 10
Level 10

You need an application to do that.

Jon Marshall
Hall of Fame
Hall of Fame

Depends exactly on what you are trying to do. For example you could send a ping to the broadcast or multicast address quite easily eg.

subnet = 192.168.5.0 255.255.255.0

from the linux/windows device - ping 192.168.5.255 would send a broadcast on the local network. But as Andrew says, if you need to do it from a specific app then it is up to the app to do that.

Jon