#include <wxlsock.h>
Public Member Functions | |
wxLuawxSocket () | |
wxLuawxSocket (wxSocketBase *sock) | |
virtual | ~wxLuawxSocket () |
bool | Destroy () |
wxSocketBase * | GetSocket () const |
void | SetSocket (wxSocketBase *sock) |
bool | Error () |
bool | WaitForRead (long seconds=0, long milliseconds=300) |
virtual bool | IsConnected () |
virtual int | Read (char *buffer, wxUint32 length) |
virtual int | Write (const char *buffer, wxUint32 length) |
virtual wxString | GetLastErrorMsg () const |
Protected Attributes | |
wxSocketBase * | m_socket |
Definition at line 201 of file wxlsock.h.
bool wxLuawxSocket::Destroy | ( | ) |
Definition at line 641 of file wxlsock.cpp.
References m_socket.
wxString wxLuawxSocket::GetLastErrorMsg | ( | ) | const [virtual] |
virtual bool wxLuawxSocket::IsConnected | ( | ) | [virtual] |
Implements wxLuaSocketBase.
int wxLuawxSocket::Read | ( | char * | buffer, | |
wxUint32 | length | |||
) | [virtual] |
Implements wxLuaSocketBase.
Definition at line 653 of file wxlsock.cpp.
References wxLuaSocketBase::AddErrorMessage(), GetLastErrorMsg(), IsConnected(), and m_socket.
bool wxLuawxSocket::WaitForRead | ( | long | seconds = 0 , |
|
long | milliseconds = 300 | |||
) |
int wxLuawxSocket::Write | ( | const char * | buffer, | |
wxUint32 | length | |||
) | [virtual] |
Implements wxLuaSocketBase.
Definition at line 680 of file wxlsock.cpp.
References wxLuaSocketBase::AddErrorMessage(), GetLastErrorMsg(), IsConnected(), and m_socket.
wxSocketBase* wxLuawxSocket::m_socket [protected] |