#include <wxlsock.h>
Inheritance diagram for wxLuaCSocket:
Public Types | |
| enum | SocketState { SOCKET_CLOSED, SOCKET_LISTENING, SOCKET_ACCEPTED, SOCKET_CONNECTED } |
Public Member Functions | |
| wxLuaCSocket () | |
| wxLuaCSocket (socket_type socket, sockaddr_in address) | |
| virtual | ~wxLuaCSocket () |
| bool | Listen (u_short port, int backLog=100) |
| wxLuaCSocket * | Accept () |
| bool | Connect (const wxString &address, u_short port) |
| SocketState | GetState () const |
| int | GetSocket () const |
| wxString | GetAddress () |
| int | GetPort () |
| bool | Shutdown (int how=2) |
| bool | Close () |
| virtual bool | IsConnected () |
| virtual int | Read (char *buffer, wxUint32 length) |
| virtual int | Write (const char *buffer, wxUint32 length) |
| virtual wxString | GetLastErrorMsg () const |
Protected Member Functions | |
| wxLuaCSocket (const wxLuaCSocket &) | |
| wxLuaCSocket & | operator= (const wxLuaCSocket &) |
Protected Attributes | |
| socket_type | m_sock |
| sockaddr_in | m_sockaddress |
| SocketState | m_sockstate |
Private Member Functions | |
| DECLARE_ABSTRACT_CLASS (wxLuaCSocket) | |
|
|
|
|
|
Definition at line 341 of file wxlsock.cpp. References m_sockaddress. Referenced by Accept(). |
|
||||||||||||
|
Definition at line 346 of file wxlsock.cpp. References lua2wx(), and m_sockaddress. |
|
|
Definition at line 353 of file wxlsock.cpp. References m_sockstate. |
|
|
|
|
|
Definition at line 409 of file wxlsock.cpp. References wxLuaSocketBase::AddErrorMessage(), m_sockstate, socket_type, and wxLuaCSocket(). |
|
|
Definition at line 556 of file wxlsock.cpp. References wxLuaSocketBase::AddErrorMessage(), and m_sockstate. Referenced by wxLuaDebugTarget::Stop(). |
|
||||||||||||
|
Definition at line 430 of file wxlsock.cpp. References wxLuaSocketBase::AddErrorMessage(), lua2wx(), m_sock, m_sockaddress, m_sockstate, and wx2lua(). Referenced by wxLuaDebugTarget::ThreadFunction(). |
|
|
|
|
|
|
|
|
Implements wxLuaSocketBase. Definition at line 583 of file wxlsock.cpp. References lua2wx(). |
|
|
|
|
|
|
|
|
|
|
|
Implements wxLuaSocketBase. |
|
||||||||||||
|
Definition at line 367 of file wxlsock.cpp. References wxLuaSocketBase::AddErrorMessage(), m_sock, m_sockaddress, and m_sockstate. |
|
|
|
|
||||||||||||
|
Implements wxLuaSocketBase. Definition at line 515 of file wxlsock.cpp. References wxLuaSocketBase::AddErrorMessage(), and m_sockstate. Referenced by wxLuawxSocket::Read(). |
|
|
Definition at line 546 of file wxlsock.cpp. References m_sock, and m_sockstate. Referenced by wxLuaDebugTarget::Stop(). |
|
||||||||||||
|
Implements wxLuaSocketBase. Definition at line 486 of file wxlsock.cpp. References wxLuaSocketBase::AddErrorMessage(), and m_sockstate. Referenced by wxLuawxSocket::Write(). |
|
|
Definition at line 188 of file wxlsock.h. Referenced by Connect(), Listen(), and Shutdown(). |
|
|
Definition at line 189 of file wxlsock.h. Referenced by Connect(), Listen(), and wxLuaCSocket(). |
|
|
Definition at line 190 of file wxlsock.h. Referenced by Accept(), Close(), Connect(), Listen(), Read(), Shutdown(), Write(), and ~wxLuaCSocket(). |
1.3.9.1