May 23, 2010
phobos commit, revision 1543


user: rsinfu

msg:
Fixed bugzilla 2835: std.socket.TcpSocket doesn't actually connect.
Thanks to Unknown W. Brackets and Alexey Ivanov for the patch!

sockaddr_in.sin_family is auto-initialized with AF_INET only on Windows (compare std.c.windows.winsock & core.sys.posix.netinet.in_). TcpSocket should explicitly set sin_family to AF_INET.

http://www.dsource.org/projects/phobos/changeset/1543