I'm using:
m_remoteEndpointToSendDataTo
{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?

Note that the error message:  "An attempt was made to access a socket
in a way forbidden by its access permissions" is during the binding
step.

On Mon, Jan 13, 2014 at 9:20 PM, Bjorn Reese [via Boost]
<[hidden email]> wrote:

> On 01/13/2014 11:10 AM, ustulation wrote:
>
>> <1> On some machines the client is unable to bind to the socket again
>> (although reuse_address option is set to true) and the error message is:
>> An
>> attempt was made to access a socket in a way forbidden by its access
>> permissions.
>
> Is your endpoint is using the correct broadcast address? (obtained from
> ip::address_v4::broadcast())
>
> _______________________________________________
> Boost-users mailing list
> [hidden email]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
>
> ________________________________
> If you reply to this email, your message will be added to the discussion
> below:
> http://boost.2283326.n4.nabble.com/UDP-bind-problems-tp4657731p4657761.html
> To unsubscribe from UDP bind problems, click here.
> NAML



--
------------
spandan sharma


View this message in context: Re: UDP bind problems
Sent from the Boost - Users mailing list archive at Nabble.com.