www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Re: std.socket with GDC

On Sat, Feb 25, 2012, at 10:38 PM, Mars wrote:
 On Saturday, 25 February 2012 at 18:27:29 UTC, Vladimir Panteleev 
 On Friday, 24 February 2012 at 19:15:26 UTC, Mars wrote:
 Hello everybody.

 When trying to compile a program using GDC (Windows), which 
 includes an import std.socket, I get a lot "undefined 
 reference"s, like
undefined reference to `WSAGetLastError 0'

Try linking with libws2_32.a.

Still the same. Does that work for you?

std.socket works for me, gdc64 (windows)
Feb 25 2012