Re: [twsocket] UDP broadcast error Permission denied

2010-12-23 Thread Francois PIETTE
To broadcast on 255.25.255.255, use connect() and then send(). Connect() will set SO_BROADCAST option at the socket level. -- francois.pie...@overbyte.be The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) http://www.overbyte.be

Re: [twsocket] UDP broadcast error Permission denied

2010-12-23 Thread Arno Garrels
Francois PIETTE wrote: To broadcast on 255.25.255.255, use connect() and then send(). Connect() will set SO_BROADCAST option at the socket level. Thanks, I have to use the listening socket in order to avoid Bind errors, setting SO_BROADCAST after Listen actually works fine. Happy Holidays --