Contents Up Previous Next

wxSocketEvent

This event class contains information about socket events.

Derived from

wxEvent

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::Socket
wxSocketEvent::SocketEvent


wxSocketEvent::wxSocketEvent

wxSocketEvent(int id = 0)

Constructor.


wxSocketEvent::Socket

wxSocketBase * Socket() const

Returns the socket object to which this event refers to. This makes it possible to use the same event handler for different sockets.


wxSocketEvent::SocketEvent

wxSocketNotify SocketEvent() const

Returns the socket event type.