import socket

s = socket.socket()
host = socket.gethostname()
port = 9100
s.bind((host, port))
s.listen(1)
print(host)
print("Waiting for any incoming connections...")
conn, addr = s.accept()
print(addr, "Has connection to the server")

filename = input(str("Please enter the filename of the file : "))
file = open(filename, 'rb')
file_data = file.read(1024)
conn.send(file_data)
print("Data has been transmitted successfully")

f4bd4b5fe9aa7a8a967fce9967680ac3abdd3d3a
<mask token>

<mask token>
s.bind((host, port))
s.listen(1)
print(host)
print('Waiting for any incoming connections...')
<mask token>
print(addr, 'Has connection to the server')
<mask token>
conn.send(file_data)
print('Data has been transmitted successfully')

<mask token>
s = socket.socket()
host = socket.gethostname()
port = 9100
s.bind((host, port))
s.listen(1)
print(host)
print('Waiting for any incoming connections...')
conn, addr = s.accept()
print(addr, 'Has connection to the server')
filename = input(str('Please enter the filename of the file : '))
file = open(filename, 'rb')
file_data = file.read(1024)
conn.send(file_data)
print('Data has been transmitted successfully')

import socket
s = socket.socket()
host = socket.gethostname()
port = 9100
s.bind((host, port))
s.listen(1)
print(host)
print('Waiting for any incoming connections...')
conn, addr = s.accept()
print(addr, 'Has connection to the server')
filename = input(str('Please enter the filename of the file : '))
file = open(filename, 'rb')
file_data = file.read(1024)
conn.send(file_data)
print('Data has been transmitted successfully')

import socket

s = socket.socket()
host = socket.gethostname()
port = 9100
s.bind((host, port))
s.listen(1)
print(host)
print("Waiting for any incoming connections...")
conn, addr = s.accept()
print(addr, "Has connection to the server")

filename = input(str("Please enter the filename of the file : "))
file = open(filename, 'rb')
file_data = file.read(1024)
conn.send(file_data)
print("Data has been transmitted successfully")
