Hi,

Sorry, but I have 24 files only to manage the communication and 4 more files to manage the application and the thread. So, I can't attach the files here.
I'm developing the Modbus protocol.

The timer is in the main thread
The class that has the socket is in the main thread
The other thread emits a signal that is catched in the main thread usign Queued connection.

Thanks,