--- parser3/src/main/pa_socks.C 2001/04/17 19:00:41 1.2 +++ parser3/src/main/pa_socks.C 2001/12/28 14:06:52 1.9 @@ -1,16 +1,18 @@ -/* +/** @file Parser: socks initialization/finalization. Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) + Author: Alexander Petrosyan (http://paf.design.ru) - Author: Alexander Petrosyan (http://design.ru/paf) - - $Id: pa_socks.C,v 1.2 2001/04/17 19:00:41 paf Exp $ + $Id: pa_socks.C,v 1.9 2001/12/28 14:06:52 paf Exp $ */ #define NO_UNISTD_H #include "pa_config_includes.h" +#include "pa_exception.h" +#include "pa_socks.h" + #ifdef WIN32 #include #else @@ -20,8 +22,6 @@ //#include #endif -#include "pa_socks.h" -#include "pa_exception.h" /* ************************ Common stuff *********************** */ @@ -39,7 +39,7 @@ void init_socks(Pool& pool) { if ( err != 0 ) { /* Tell the user that we could not find a usable */ /* WinSock DLL. */ - PTHROW(0, 0, + throw Exception(0, 0, 0, "can not WSAStartup, err=%d", err);