Update receiver.py

This commit is contained in:
Mugundh J B 2024-10-01 12:24:53 +05:30 committed by GitHub
parent b2ed780e3e
commit df5f14df1b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,7 +1,6 @@
import socket
def start_ftp_server(host, port):
def start_ftp_server(host, port) -> None:
server_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
server_socket.bind((host, port))
server_socket.listen(1)