I wrote a client-server python program where the client sends a list to the server, the server receives the array, deletes the first two elements of the list and sends it back to t
Solution 1:
You made a small mistake:
s.send(data_string1);
Should be:
conn.send(data_string1);
Also the following lines need to be changed:
socket.shutdown(); to s.shutdown();
And:
socket.close(); to s.close();
Share
Post a Comment
for "Socket.error: [errno 32] Broken Pipe"
Post a Comment for "Socket.error: [errno 32] Broken Pipe"