Skip to content

Instantly share code, notes, and snippets.

View dbersan's full-sized avatar
🖖
octocat

D Bersan dbersan

🖖
octocat
View GitHub Profile
@hostilefork
hostilefork / listener.c
Last active May 31, 2024 03:02
Simple listener and sender for UDP multicast
//
// Simple listener.c program for UDP multicast
//
// Adapted from:
// http://ntrg.cs.tcd.ie/undergrad/4ba2/multicast/antony/example.html
//
// Changes:
// * Compiles for Windows as well as Linux
// * Takes the port and group on the command line
//