MCPcopy Create free account
hub / github.com/Mrinank-Bhowmick/python-beginner-projects / main

Function main

projects/Chat Application/chatapp.py:29–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27
28
29def main():
30 print(f"Server listening on {HOST}:{PORT}")
31 while True:
32 client_socket, addr = server_socket.accept()
33 client_handler = threading.Thread(
34 target=handle_client, args=(client_socket, addr)
35 )
36 client_handler.start()
37
38
39if __name__ == "__main__":

Callers 1

chatapp.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected