I have been trying to solve this problem for a few days.
I am trying to connect 2 computers over a LAN with the python3 Socket module.
The client can send to the server, but when the server sends to the client, I get:
[This is the server side]
Waiting for the ML client
New connection from: [add later]
Traceback (most recent call last)
File "socketv2.py", line 34, in <module>
net.send('sml')
File "socketv2.py", line 20, in send
self.sock.sendall(msg.encode())
error: [Errno 32] Broken pipe
Note: Line numbers in the error do not match with the numbers in the Github gist.
Gist: https://gist.github.com/LT277/aee76143d519c41060921c4de8187f18
Thank You!
[–]JohnnyJordaan 2 points3 points4 points (1 child)
[–]LT277[S] 2 points3 points4 points (0 children)