This event class contains information about socket events.
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.|
wxSocketBase, wxSocketClient, wxSocketServer
wxSocketEvent(int id = 0)
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.