@@ -3,7 +3,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
import socket
 | 
					import socket
 | 
				
			||||||
from argparse import ArgumentParser
 | 
					from argparse import ArgumentParser
 | 
				
			||||||
from typing import Any
 | 
					from typing import Any, Tuple
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
class Squinnondation:
 | 
					class Squinnondation:
 | 
				
			||||||
@@ -78,7 +78,7 @@ class Squirrel(Hazelnut):
 | 
				
			|||||||
        """
 | 
					        """
 | 
				
			||||||
        return self.socket.sendto(data, (client.address, client.port))
 | 
					        return self.socket.sendto(data, (client.address, client.port))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def receive_raw_data(self) -> tuple[bytes, any]:
 | 
					    def receive_raw_data(self) -> Tuple[bytes, Any]:
 | 
				
			||||||
        """
 | 
					        """
 | 
				
			||||||
        Receive a packet from the socket.
 | 
					        Receive a packet from the socket.
 | 
				
			||||||
        TODO: Translate the address into the correct hazelnut.
 | 
					        TODO: Translate the address into the correct hazelnut.
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user