$szTitle = "wxsocketevent"; include "./_header.inc"; ?>
this event class contains information about socket events.
derived from
include files
<wx/socket.h>
event table macros
to process a socket event, use these event handler macros to direct input to member functions that take a wxsocketevent argument.
evt_socket(id, func) | process a socket event, supplying the member function. |
see also
wxsocketbase, wxsocketclient, wxsocketserver
members
wxsocketevent::wxsocketevent
wxsocketevent::getclientdata
wxsocketevent::getsocket
wxsocketevent::getsocketevent
wxsocketevent(int id = 0)
constructor.
void * getclientdata()
gets the client data of the socket which generated this event, as set with wxsocketbase::setclientdata.
wxsocketbase * getsocket() const
returns the socket object to which this event refers to. this makes it possible to use the same event handler for different sockets.
wxsocketnotify getsocketevent() const
returns the socket event type.
include "./_footer.inc"; ?>