If I'm correct noury told me that it was not working when he did some tests. Stef On Sep 5, 2010, at 9:17 PM, Philippe Marschall wrote:
Hi
I have some code that listens to UDP broadcasts. It works on Linux but on the Mac it never receives anything (the first element in the array is zero *sigh*). This is with Pharo 1.1 and Cog but also happens on Pharo 1.0 without Cog.
The code looks more or less like this:
socket := Socket newUDP. socket setPort: 23364. buffer := String new: 65507. [ socket isValid ] whileTrue: [ | datagramm | datagramm := socket receiveUDPDataInto: buffer ]
The broadcast happens to 224.0.1.105 on port 23364, tcpdump picks up the packes on lo0.
I could provide tcpdump output or steps to set up sever that sends the broadcasts.
Cheers Philippe
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project