Receiving ArtNet packets (UDP broadcast)

Receiving ArtNet packets (UDP broadcast)

Post by Jesper Her » Mon, 13 Nov 2006 17:26:52


I'm trying to make an app which will respond to the Artnet protocol
(it's for transmitting DMX512 (lighting information) with Ethernet).

The DMX512 protocol, is just a packet of 512 bytes sendt out on a wire.
ArtNet transmits this data over a network by doing something that looks
like an UDP broadcast. At least when I turn on WireShark, I see all the
packages going in as UDP over protocol ARTNET, but I can't seem to
capture any with the Indy UDP Client, or Indy UDP Server. I'm using Indy 10.

The packets are all sendt from my machine to port 6454,
and will be received on the same machine (at least for now).
I've set my wireless network interface to IP and subnet, but still don't get any packets.

Have any of you guys got an example for receiving UDP broadcast packets
with Indy 10?

The ArtNet protocol is described at 's

Jesper, Denmark

1. UDP Broadcast packets wont be received in Vista machine on some of the interfaces...

2. Not Receiving UDP Broadcast Packets

I'm trying to write code to receive broadcast UDP messages. These
broadcast messages are being sent from another computer on the local
network. My computer has more than one network connection.

This code works if I put the IP address of my own network connection
in the Bind() call.. If I try to use IPAddress.Any to bind, then
Available always returns 0, and if I call Receive anyway, it blocks
forever. Why won't IPAddress.Any work?

m_udpClient = new UdpClient();
(SocketOptionLevel.Socket, SocketOptionName.ReuseAddress, true);
m_udpClient.EnableBroadcast = true;
m_udpClient.Client.Bind(new IPEndPoint(IPAddress.Any,
// m_udpClient.Client.Bind(new IPEndPoint(new IPAddress(new
byte[] { 192, 168, 0, 102 }), 12012));


if(0!= m_udpClient.Available)
byte[] newBytes = m_udpClient.Receive(ref
(... blah blah )


3. UDP Broadcast packets wont be received in Vista machine on some of the interfaces...

4. Problem receiving UDP broadcast packets.

5. XP, No Multicast packets can be received, but TCP, UDP, Broadcast works.

6. Problem receiving UDP broadcast packets.

7. Receiving broadcast packets using packet socket

8. Cannot recieve UDP packets that are broadcast on inter - network.

9. how to broadcast UDP packets

10. Generating UDP broadcast packet with source mac address

11. Strange: Cannot recieve UDP packets that are broadcast on the network.

12. Socket:UDP Broadcast Packet size

13. broadcast udp packet length limit

14. sending UDP packet to broadcast address