{
start_time = time(0);
+ #ifdef WIN32
+ int res;
+ WSADATA wsadata;
+ // Start Windows Sockets.
+ res = WSAStartup(MAKEWORD(2, 0), &wsadata);
+ if (res)
+ {
+ perror("Unable to start Windows Sockets");
+ return 0;
+ }
+ #endif
+
init_mysql();
init_lang();
init_parser();