Hey Tobias!
* Tobias Pape Das.Linux@gmx.de [220204 14:46]:
The host is not a string but rather an address. Try this:
addr := NetNameResolver addressForName: '255.255.255.255' timeout: 10. s := Socket newUDP. s setOption: 'SO_BROADCAST' value: 1. [[(Delay forSeconds: numberOfSeconds) wait. s sendUDPData: shoutout toHost: addr port: (self portNumber) ] repeat] fork.
Oh, duh! Yes of course. I stopped at the <prim> call pragma, I should have gone deeper. I somehow missed the example in the code.
Another error state for invalid parameters might have helped here in general though.
Thanks for your patience explaining all this.
Cheers,
Christian