move WSAStartup to init 255/head
authorWladimir J. van der Laan <laanwj@gmail.com>
Sun, 28 Apr 2013 06:51:49 +0000 (08:51 +0200)
committersvost <ya.nowa@yandex.ru>
Wed, 21 Oct 2015 19:00:05 +0000 (22:00 +0300)
commitc3faff07f5e2e4620601c2ef324b492a31bf7088
treea407ae9f8e2d8d912dd4b5ae872c0608fe59d552
parent59e4f2183b72e5613a458b8d23ae8df487d2cfc2
move WSAStartup to init

WSAStartup should be called before using any other socket
functions. BindListenPort is not called if not listening.

Closes #2585.
src/init.cpp
src/net.cpp