(Apr-08-2019, 10:09 PM)Alfalfa Wrote: It is a Qt or a PyQt bug, it looks like it does not know how to handle the byte object properly. To solve this simply call int() on your value before emitting the signal.
Also, I want to add a question.
class_1 = to set socket for server and client, this TCP/IP should be done one time. I am telling one time, because connecting to IP takes too long. And consequently, it shows data every 5 sec.
class_2 = to take data from socket. But this process should be on while loop.
My question: How I should occur this ? I have to create two class, first is socket, second is data=s.recv(512).
I tried but when classes are different, output gave an error " "data" is undefined ".