Bonsoir

Bonsoir is a Flutter Zeroconf library that allows you to discover network services and to broadcast your own. It's based on Android NSD and on Apple's popular framework Bonjour.

In fact, Bonsoir can be translated into Good evening (and Bonjour into Good morning or Good afternoon depending on the current moment of the day).

You can use Bonsoir on Android, iOS, macOS, Windows and Linux.

BonsoirService service = BonsoirService(
  name: 'My wonderful service',
  type: '_wonderful-service._tcp',
  port: 3030,
);

BonsoirBroadcast broadcast = BonsoirBroadcast(service: service);
await broadcast.ready;
await broadcast.start();