>> {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