Lines Matching full:address
11 def __init__(self, address, timeout = 1): argument
12 self.address = address
19 return self.address
68 data, address = sock.recvfrom(4096)
70 print(f'udp received {len(data)} bytes -> {address[0]}:{address[1]}')
72 session = self._get_session_by_address_(address)
81 def _get_session_by_address_(self, address) -> TEUDPReceiveSession: argument
84 if session.get_address() == address:
88 print(f'Created session for {address[0]}:{address[1]}')
89 self.sessions.append(TEUDPReceiveSession(address, 2))
103 print(f'Sending result {response} to address {session.get_address()}')
106 print(f'Removing session for address {session.get_address()}')