Odamex
Setting the Standard in Multiplayer Doom
BufferedSocket Class Reference

#include <net_io.h>

Public Member Functions

 BufferedSocket ()
virtual ~BufferedSocket ()
void SetRemoteAddress (const wxString &Address, const wxInt16 &Port)
bool SetRemoteAddress (const wxString &Address)
void GetRemoteAddress (wxString &Address, wxUint16 &Port) const
wxString GetRemoteAddress () const
wxInt32 SendData (const wxInt32 &Timeout)
wxInt32 GetData (const wxInt32 &Timeout)
wxUint32 GetPing ()
bool ReadString (wxString &)
bool ReadBool (bool &)
bool Read32 (wxInt32 &)
bool Read16 (wxInt16 &)
bool Read8 (wxInt8 &)
bool Read32 (wxUint32 &)
bool Read16 (wxUint16 &)
bool Read8 (wxUint8 &)
bool BadRead ()
bool WriteString (const wxString &)
bool WriteBool (const bool &)
bool Write32 (const wxInt32 &)
bool Write16 (const wxInt16 &)
bool Write8 (const wxInt8 &)
bool Write32 (const wxUint32 &)
bool Write16 (const wxUint16 &)
bool Write8 (const wxUint8 &)
bool BadWrite ()
void ResetRecvBuffer ()
void ResetSendBuffer ()
void ResetBuffers ()
bool CanRead (const size_t &)
bool CanWrite (const size_t &)
void ClearRecvBuffer ()
void ClearSendBuffer ()
void ClearBuffers ()

Constructor & Destructor Documentation

BufferedSocket::BufferedSocket ( )
BufferedSocket::~BufferedSocket ( ) [virtual]

Member Function Documentation

bool BufferedSocket::BadRead ( ) [inline]
bool BufferedSocket::BadWrite ( ) [inline]
bool BufferedSocket::CanRead ( const size_t &  Bytes)
bool BufferedSocket::CanWrite ( const size_t &  Bytes)
void BufferedSocket::ClearBuffers ( ) [inline]
void BufferedSocket::ClearRecvBuffer ( )
void BufferedSocket::ClearSendBuffer ( )
wxInt32 BufferedSocket::GetData ( const wxInt32 &  Timeout)
wxUint32 BufferedSocket::GetPing ( ) [inline]
wxString BufferedSocket::GetRemoteAddress ( ) const
void BufferedSocket::GetRemoteAddress ( wxString &  Address,
wxUint16 &  Port 
) const
bool BufferedSocket::Read16 ( wxInt16 &  Int16)
bool BufferedSocket::Read16 ( wxUint16 &  Uint16)
bool BufferedSocket::Read32 ( wxInt32 &  Int32)
bool BufferedSocket::Read32 ( wxUint32 &  Uint32)
bool BufferedSocket::Read8 ( wxInt8 &  Int8)
bool BufferedSocket::Read8 ( wxUint8 &  Uint8)
bool BufferedSocket::ReadBool ( bool &  val)
bool BufferedSocket::ReadString ( wxString &  str)
void BufferedSocket::ResetBuffers ( ) [inline]
void BufferedSocket::ResetRecvBuffer ( ) [inline]
void BufferedSocket::ResetSendBuffer ( ) [inline]
wxInt32 BufferedSocket::SendData ( const wxInt32 &  Timeout)
bool BufferedSocket::SetRemoteAddress ( const wxString &  Address)
void BufferedSocket::SetRemoteAddress ( const wxString &  Address,
const wxInt16 &  Port 
)
bool BufferedSocket::Write16 ( const wxUint16 &  val)
bool BufferedSocket::Write16 ( const wxInt16 &  val)
bool BufferedSocket::Write32 ( const wxInt32 &  val)
bool BufferedSocket::Write32 ( const wxUint32 &  val)
bool BufferedSocket::Write8 ( const wxInt8 &  val)
bool BufferedSocket::Write8 ( const wxUint8 &  val)
bool BufferedSocket::WriteBool ( const bool &  val)
bool BufferedSocket::WriteString ( const wxString &  str)

The documentation for this class was generated from the following files:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends