![]() |
VR-Link API Documentation for HLA Evolved
|
00001 /********************************************************************* 00002 ** Copyright (c) 1992-2010 VT MAK 00003 ** All rights reserved. 00004 *********************************************************************/ 00009 #pragma once 00010 00011 #include <vlutil/vlConfig.h> 00012 #include <vlutil/vlMutex.h> 00013 00014 #ifdef DtUSE_UTILITIES_NAMESPACE 00015 namespace DtUSE_UTILITIES_NAMESPACE 00016 { 00017 #endif 00018 00021 namespace DtInetUtils 00022 { 00023 extern int theMaxPacketBufferSize; 00024 00025 #ifdef _WIN32 00026 extern int theWindowsInitRefCount; 00027 extern DtMutex theWindowsInitRefCountMutex; 00028 #endif 00029 00030 DT_DLL_VLUTIL void setMaxPacketBufferSize( int size ); 00031 DT_DLL_VLUTIL int getMaxPacketBufferSize(); 00032 00033 DT_DLL_VLUTIL void initHostNetworkLayer(); 00034 DT_DLL_VLUTIL void initInetAsyncIoService(); 00035 DT_DLL_VLUTIL void stopInetAsyncIoService(); 00036 00037 #ifdef _WIN32 00038 DT_DLL_VLUTIL void windowsInit(); 00039 DT_DLL_VLUTIL void windowsCleanup(); 00040 #endif 00041 00042 } 00043 00044 #ifdef DtUSE_UTILITIES_NAMESPACE 00045 } 00046 #endif 00047 00048 00049