I have a problem with QTcpSocket. I use it to connect with hardware through ethernet port. Everything works ok, I even created a timer, which fires every 2s to check, whether connection is still alive. When i plug out the Ethernet cable, my program shows information about lost connection. Then when I plug cable again, Qt won't allow me to connect again for some time (5-10 minutes). It finds hosts and stays in connecting state. This happend even when I restart the application - it does not help. The same problem does not exist i software provided by hardware manufacturer. Could you tell mi what is wrong?
Bookmarks