Ad
import socket
def setup():
    print('setup done')
    
def http_server(port = 80):
    with socket.create_server(('127.0.0.1',port)) as my_server:
        with my_server.accept()[0] as con:
            packet = con.recv(1024).decode()
            con.send(b'sent mssg')
def close():
    pass