I\'m trying to make a program in Python that implements sockets, each client sends a PDF file and the server receives it and the title is changed to \"file_number.pdf\" (i.e
You are closing the server socket (s in your code) after handling the first client connection. Thus only one client is ever handled by your server. Make a loop around accept and reading from the sc.