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"
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.