Boost logo

Boost Users :

Subject: Re: [Boost-users] UDP bind problems
From: ustulation (ustulation_at_[hidden])
Date: 2014-01-13 12:45:06


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]
<ml-node+s2283326n4657761h89_at_[hidden]> 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: http://boost.2283326.n4.nabble.com/UDP-bind-problems-tp4657731p4657773.html
Sent from the Boost - Users mailing list archive at Nabble.com.


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