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 at 0' Try linking with libws2_32.a.