SocketException with code 10106

Emil Ivanov emil.vladev at gmail.com
Fri May 18 14:27:05 PDT 2007


Hi,

I'm trying to write something very simple using D and sockets.
I'm creating a socket like this:
auto s = new TcpSocket;

But here I get a SocketException with message "Unable to create socket" and code 10106

The application compiles just fine, I have linked with ws2_32.lib, but I get this error.

The environment is Windows XP Home SP2 with D 1.010.

Regards,
Emil Ivanov



More information about the Digitalmars-d mailing list