[Pharo-dev] UDP Broadcast message

Norbert Hartl norbert at hartl.name
Thu Dec 19 06:25:12 EST 2013

Am 19.12.2013 um 10:33 schrieb jannik.laval <jannik.laval at gmail.com>:

> Hi guys,
> In Pharo, it is not possible to catch a UDP Broadcast message.
> Catching a UDP message is easy and works fine, but not when it is broadcasted (strange !)
To send or receive a broadcast packet you need to put special options on the socket on the native side (setsockopt). You need to look if the SO_BROADCAST option is mentioned anywhere. If not it won’t work without adding them. And for sending them you need almost special privileges on the system. This is not a „user feature“.


> Does someone try that ? Could someone propose a solution ? Maybe with OSProcess or NativeBoost ?
> Thank you a lot.
> Jannik

More information about the Pharo-dev mailing list