mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-10-06 05:39:30 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
1846e55233
commit
5cf7a06891
|
@ -1 +0,0 @@
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
import socket
|
||||
|
||||
|
||||
def send_file_to_server(host, port, file_path) -> None:
|
||||
client_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
||||
client_socket.connect((host, port))
|
||||
|
|
Loading…
Reference in New Issue
Block a user