Returns the socket event type.
Returns a 0 if the socket is not connected, 1 if it is.
Sets a sequence of flags to a specified socket. You must assign a socket flags after every procedure/function loop or it will not look for them and you could lose soemthing.
Events that can be chosen are
Works for both wxSocketServer and wxSocketClient. Specifies which socket events are to be sent to the event handler. The flags parameter may be combination of flags ORed together. The following flags can be used:
When calling set_event_handler() for a wxEVT_SOCKET event, for the 'this' parameter, you must pass a sequence consisting of the object to handle the events and the socket.
Example:
socket_event_handler( socket, form, socket_id ) set_event_handler( {form, socket}, -1, wxEVT_SOCKET, routine_id("socket_event"))
Returns the pointer to the socket that sent the wxSocketEvent.
Works for wxSocketServer, wxSocketClient, wxHTTP and wxFTP.
Works for both wxSocketServer and wxSocketClient.