Start the network connection of server.
(self)
| 71 | self.weights = {} |
| 72 | |
| 73 | def __start_connection(self) -> None: |
| 74 | """Start the network connection of server.""" |
| 75 | self.sock.bind((self.host, self.port)) |
| 76 | self.sock.listen() |
| 77 | print("Server started.") |
| 78 | |
| 79 | def __start_rank_pairing(self) -> None: |
| 80 | """Start pair each client to a global rank""" |