_________ __                 __
        /   _____//  |_____________ _/  |______     ____  __ __  ______
        \_____  \\   __\_  __ \__  \\   __\__  \   / ___\|  |  \/  ___/
        /        \|  |  |  | \// __ \|  |  / __ \_/ /_/  >  |  /\___ \
       /_______  /|__|  |__|  (____  /__| (____  /\___  /|____//____  >
               \/                  \/          \//_____/            \/
    ______________________                           ______________________
                          T H E   W A R   B E G I N S
                   Stratagus - A free fantasy real time strategy game engine

Public Member Functions | List of all members
CUDPSocket_Impl Class Reference

Public Member Functions

 CUDPSocket_Impl ()
 
 ~CUDPSocket_Impl ()
 
bool Open (const CHost &host)
 
void Close ()
 
void Send (const CHost &host, const void *buf, unsigned int len)
 
int Recv (void *buf, int len, CHost *hostFrom)
 
void SetNonBlocking ()
 
int HasDataToRead (int timeout)
 
bool IsValid () const
 
int GetSocketAddresses (unsigned long *ips, int maxAddr)
 

Constructor & Destructor Documentation

◆ CUDPSocket_Impl()

CUDPSocket_Impl::CUDPSocket_Impl ( )
inline

◆ ~CUDPSocket_Impl()

CUDPSocket_Impl::~CUDPSocket_Impl ( )
inline

Member Function Documentation

◆ Close()

void CUDPSocket_Impl::Close ( )
inline

◆ GetSocketAddresses()

int CUDPSocket_Impl::GetSocketAddresses ( unsigned long *  ips,
int  maxAddr 
)
inline

◆ HasDataToRead()

int CUDPSocket_Impl::HasDataToRead ( int  timeout)
inline

◆ IsValid()

bool CUDPSocket_Impl::IsValid ( ) const
inline

◆ Open()

bool CUDPSocket_Impl::Open ( const CHost host)
inline

◆ Recv()

int CUDPSocket_Impl::Recv ( void buf,
int  len,
CHost hostFrom 
)
inline

◆ Send()

void CUDPSocket_Impl::Send ( const CHost host,
const void buf,
unsigned int  len 
)
inline

◆ SetNonBlocking()

void CUDPSocket_Impl::SetNonBlocking ( )
inline

The documentation for this class was generated from the following file:
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.
All trademarks and copyrights on this page are owned by their respective owners.