|
Boost Users : |
Subject: Re: [Boost-users] UDP bind problems
From: Cliff Green (cliffg_at_[hidden])
Date: 2014-01-13 13:09:36
>> {boost::asio::ip::address::from_string("255.255.255.255"), Y}; //Y=some unsigned short
>> Is this wrong? But why would it affect binding and stuff anyway?
You must set the broadcast socket option to send to a broadcast address (check out the Asio socket options).
Cliff
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net