OpenClonk
WinSockHolder Class Reference

#include <C4NetIO.h>

Public Member Functions

 WinSockHolder ()
 
 ~WinSockHolder ()
 

Detailed Description

Definition at line 981 of file C4NetIO.h.

Constructor & Destructor Documentation

◆ WinSockHolder()

WinSockHolder::WinSockHolder ( )
inline

Definition at line 984 of file C4NetIO.h.

985  {
986 #ifdef HAVE_WINSOCK
987  AcquireWinSock();
988 #endif
989  }

◆ ~WinSockHolder()

WinSockHolder::~WinSockHolder ( )
inline

Definition at line 991 of file C4NetIO.h.

992  {
993 #ifdef HAVE_WINSOCK
994  ReleaseWinSock();
995 #endif
996  }

The documentation for this class was generated from the following file: