Boost logo

Boost Users :

Subject: [Boost-users] Boost.Asio uses not specified WSAGetLastError
From: Yakov Olkhovskiy (bumbarash_at_[hidden])
Date: 2008-10-23 01:42:26


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