Я нашел решение:
СЕРВЕР
from PIL import ImageGrab
import socket
server_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
server_socket.bind((IP, PORT))
server_socket.listen(1)
client_socket, address = server_socket.accept()
image = ImageGrab.grab()
image.save(r'C:\example\screen.jpg')
with open(r'C:\example\screen.jpg', 'rb') as handle:
response = handle.read()
client_socket.send(response)
КЛИЕНТ
response = my_socket.recv(1024) # Depends on the size of the file
with open(r'C:\client\screen.jpg', 'wb') as handle:
handle.write(response)