00001 //**************************************************************************** 00002 //* Author: Scott Schmeisser gsdevelopers@ubisoft.com 00003 //* Date: 5/15/01 10:05:17 AM 00009 //**************************************************************************** 00010 00011 #ifndef _INITSOCKETS_H 00012 #ifndef DOX_SKIP_THIS 00013 #define _INITSOCKETS_H 00014 #endif // DOX_SKIP_THIS 00015 00016 00017 extern "C" { 00018 00019 #ifdef GS_WIN32 00020 00021 00022 //============================================================================ 00023 // Function InitializeSockets 00024 // Author: Luc Bouchard lbouchard@ubisoft.qc.ca 00025 // Date: 14/09/2001 9:48:06 AM 00038 //============================================================================ 00039 GSbool __stdcall InitializeSockets(GSchar *szIPAddress = NULL); 00040 00041 //============================================================================ 00042 // Function InitializeSockets_SetOnConnectTimeout 00043 // Author: Luc Bouchard lbouchard@ubisoft.qc.ca 00044 // Date: 28/08/2002 10:05:51 AM 00059 //============================================================================ 00060 GSbool __stdcall InitializeSockets_SetOnConnectTimeout(GSint iTimeOut = 5); 00061 00062 //============================================================================ 00063 // Function UninitializeSockets 00064 // Author: Luc Bouchard lbouchard@ubisoft.qc.ca 00065 // Date: 14/09/2001 9:50:18 AM 00076 //============================================================================ 00077 GSbool __stdcall UninitializeSockets(); 00078 00079 #endif //GS_WIN32 00080 00081 00082 #ifdef GS_XBOX 00083 //============================================================================ 00084 // Function InitializeSockets 00085 // Author: Luc Bouchard lbouchard@ubisoft.qc.ca 00086 // Date: 14/09/2001 9:48:06 AM 00099 //============================================================================ 00100 GSbool __stdcall InitializeSockets(GSchar *szIPAddress = NULL); 00101 00102 //============================================================================ 00103 // Function UninitializeSockets 00104 // Author: Luc Bouchard lbouchard@ubisoft.qc.ca 00105 // Date: 14/09/2001 9:50:18 AM 00116 //============================================================================ 00117 GSbool __stdcall UninitializeSockets(); 00118 #endif //GS_XBOX 00119 00120 #ifdef GS_PSX2 00121 00122 //============================================================================ 00123 // Function InitializeSockets 00124 // Author: Luc Bouchard lbouchard@ubisoft.qc.ca 00125 // Date: 14/09/2001 10:05:51 AM 00141 //============================================================================ 00142 GSbool __stdcall InitializeSockets(GSchar *szIPAddress = NULL); 00143 00144 //============================================================================ 00145 // Function InitializeSockets_Test 00146 // Author: Scott Schmeisser sschmeisser@ubisoft.com 00147 // Date: 01/04/2003 10:05:51 AM 00162 //============================================================================ 00163 GSbool __stdcall InitializeSockets_Test(GSchar *szIPAddress = NULL); 00164 00165 //============================================================================ 00166 // Function InitializeSockets_SetOnConnectTimeout 00167 // Author: Luc Bouchard lbouchard@ubisoft.qc.ca 00168 // Date: 28/08/2002 10:05:51 AM 00183 //============================================================================ 00184 GSbool __stdcall InitializeSockets_SetOnConnectTimeout(GSint iTimeOut = 5); 00185 00186 //============================================================================ 00187 // Function UninitializeSockets 00188 // Author: Luc Bouchard lbouchard@ubisoft.qc.ca 00189 // Date: 14/09/2001 9:50:18 AM 00200 //============================================================================ 00201 GSbool __stdcall UninitializeSockets(); 00202 #endif GS_PSX2 00203 00204 #ifdef GS_LINUX 00205 //============================================================================ 00206 // Function InitializeSockets 00207 // Author: Luc Bouchard lbouchard@ubisoft.qc.ca 00208 // Date: 14/09/2001 9:48:06 AM 00221 //============================================================================ 00222 GSbool __stdcall InitializeSockets(GSchar *szIPAddress = NULL); 00223 00224 //============================================================================ 00225 // Function InitializeSockets_SetOnConnectTimeout 00226 // Author: Luc Bouchard lbouchard@ubisoft.qc.ca 00227 // Date: 28/08/2002 10:05:51 AM 00242 //============================================================================ 00243 GSbool __stdcall InitializeSockets_SetOnConnectTimeout(GSint iTimeOut = 5); 00244 00245 //============================================================================ 00246 // Function UninitializeSockets 00247 // Author: Luc Bouchard lbouchard@ubisoft.qc.ca 00248 // Date: 14/09/2001 9:50:18 AM 00259 //============================================================================ 00260 GSbool __stdcall UninitializeSockets(); 00261 #endif 00262 00263 } 00264 #endif //_INITSOCKETS_H
Ubi.com GameService SDK - ©UbiSoft Entertainment 2002
GameService development team