Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use the IP address resolved by the transport
Hostname destination support fails because asyncio's DatagramTransport internally resolves hostnames to IP addresses and expects any call to sendto() to use that IP instead of the input hostname. This commit recognizes that resolution may have happened and updates self.ip and self.port to match the resolved address.
- Loading branch information