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 !) Does someone try that ? Could someone propose a solution ? Maybe with OSProcess or NativeBoost ? Thank you a lot. Jannik
Am 19.12.2013 um 10:33 schrieb jannik.laval <jannik.laval@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â. Norbert
Does someone try that ? Could someone propose a solution ? Maybe with OSProcess or NativeBoost ?
Thank you a lot.
Jannik
participants (2)
-
jannik.laval -
Norbert Hartl