Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost.Asio uses not specified WSAGetLastError
From: Yakov Olkhovskiy (bumbarash_at_[hidden])
Date: 2008-10-23 12:46:06


All needed functionality exists under UNDER_CE define in socket_ops.hpp.
Just commented it for API functions. Looks like it works...

----- Original Message -----
From: "Yakov Olkhovskiy" <bumbarash_at_[hidden]>
Newsgroups: gmane.comp.lib.boost.user
To: <boost-users_at_[hidden]>
Sent: Thursday, October 23, 2008 1:42 AM
Subject: Boost.Asio uses not specified WSAGetLastError

>I just have found that Boost.Asio returns wrapped WSAGetLastError code even
>on successfully executed ::connect (didn't check it for other functions).
>There is a problem with Norton Personal Firewall - looks like it performs
>some operation after successful connection and doesn't restore error
>variable in the DLL. As result on a second (and further) program's run
>WSAGetLastError returns code 2 (The system cannot find the file specified).
>After removing record of the program from "Norton Internet Security->Norton
>Internet Security->Personal Firewall->Program control" list, the program
>works once and then again returns error on further runs.
> Actually it looks like as an Asio fault, because WSAGetLastError is not
> specified on successful function execution.


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