offtopic:
here
for line in str(s.recv(1024)).split('\\r\\n'):
it should be \r\n, because \\r\\n is not a cr-lf, but a 4 chars (‘r’, ‘n’, and 2 backslashes)
1 Like
offtopic:
here
for line in str(s.recv(1024)).split('\\r\\n'):
it should be \r\n, because \\r\\n is not a cr-lf, but a 4 chars (‘r’, ‘n’, and 2 backslashes)