On Wednesday, 4 April 2012 at 08:04:14 UTC, Xan wrote: > Not, I receive the error: What version of D is that? lastSocketError is in phobos: http://dlang.org/phobos/std_socket.html#lastSocketError and it should work in windows and linux. Maybe your compiler is old.