thanks for your promptly responses.
I did try to use the timer event but I don't see which method you can use to send data through the socket at the sender part.
When you call the can_read method, can you get the event data or just the boolean value saying if there is any available data at the socket?