_________ __                 __
        /   _____//  |_____________ _/  |______     ____  __ __  ______
        \_____  \\   __\_  __ \__  \\   __\__  \   / ___\|  |  \/  ___/
        /        \|  |  |  | \// __ \|  |  / __ \_/ /_/  >  |  /\___ \
       /_______  /|__|  |__|  (____  /__| (____  /\___  /|____//____  >
               \/                  \/          \//_____/            \/
    ______________________                           ______________________
                          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
CTCPSocket_Impl Class Reference

Public Member Functions

 CTCPSocket_Impl ()
 
 ~CTCPSocket_Impl ()
 
void Close ()
 
bool Connect (const CHost &host)
 
int Send (const void *buf, unsigned int len)
 
int Recv (void *buf, int len)
 
void SetNonBlocking ()
 
int HasDataToRead (int timeout)
 
bool IsValid () const
 
netsockets.cpp - TCP and UDP sockets.
bool Open (const CHost &host)
 

Constructor & Destructor Documentation

◆ CTCPSocket_Impl()

CTCPSocket_Impl::CTCPSocket_Impl ( )
inline

◆ ~CTCPSocket_Impl()

CTCPSocket_Impl::~CTCPSocket_Impl ( )
inline

Member Function Documentation

◆ Close()

void CTCPSocket_Impl::Close ( )
inline

◆ Connect()

bool CTCPSocket_Impl::Connect ( const CHost host)
inline

◆ HasDataToRead()

int CTCPSocket_Impl::HasDataToRead ( int  timeout)
inline

◆ IsValid()

bool CTCPSocket_Impl::IsValid ( ) const
inline

◆ Open()

bool CTCPSocket_Impl::Open ( const CHost host)

◆ Recv()

int CTCPSocket_Impl::Recv ( void buf,
int  len 
)
inline

◆ Send()

int CTCPSocket_Impl::Send ( const void buf,
unsigned int  len 
)
inline

◆ SetNonBlocking()

void CTCPSocket_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.