mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-10-06 05:39:30 +00:00
Update receiver.py
This commit is contained in:
parent
b2ed780e3e
commit
df5f14df1b
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user