Events are not needed for this kind of sockets, using wxSOCKET_BLOCK is supposed to ensure that calling socket IO operations blocks until the bytes are read/written without dispatching any events. See #17031.