release/0.3.0 #10

Merged
pufereq merged 32 commits from release/0.3.0 into main 2025-09-19 13:28:10 +00:00
9 changed files with 336 additions and 58 deletions
Showing only changes of commit f2b4811145 - Show all commits

View File

@@ -60,6 +60,16 @@ class BackendServer:
)
time.sleep(1)
def _send_ack(self, client: Client) -> None:
"""Send an ACK message to a client.
Args:
client (Client): The client to send the ACK to.
"""
ack: bytes = Message.ack().to_bytes()
self.logger.debug(f"[>] Sending ACK to {client}")
client.outbound += ack
def _accept_connection(self, sock: socket.socket) -> None:
"""Accept a new client connection.