|
Boost Users : |
From: Tim Pynegar (tim_at_[hidden])
Date: 2008-07-24 13:36:34
Hi,
I'm trying to call bind on a udp::socket separately from the udp::socket
constructor. As in when i use the overloaded udp::socket constructor and
pass in a local endpoint for it to do the bind on it work's fine.
However when i only pass in the boost::asio::io_service and then call
bind on the
socket later with a local scope udp::endpoint it throws the following
exception.
First-chance exception at 0x76b442eb in Chatter.exe: Microsoft C++
exception: boost::system::system_error at memory location 0x0012e774..
I've got two questions, the first is does anyone have any idea of what
this is, and the second is how do i get access to the socket error codes or
states. As in if i knew what the error was i'd maybe be able to fix this
myself and i appriciate that it's difficult without seeing the code
itself to
tell me what i'm doing wrong.
Thanks,
Tim.
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