Sept. 5, 2010
7:17 p.m.
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