Raises if the message is malformed, if network errors occur, of if
there is a timeout.
- Returns a ``dns.message.Message`` object.
+ Returns a ``(dns.message.Message, float)`` tuple of the received message
+ and the received time.
"""
wire = b''
Raises if the message is malformed, if network errors occur, of if
there is a timeout.
- Returns a ``dns.message.Message`` object.
+ Returns a ``(dns.message.Message, float)`` tuple of the received message
+ and the received time.
"""
ldata = await _read_exactly(sock, 2, expiration)
Raises if the message is malformed, if network errors occur, of if
there is a timeout.
- Returns a ``dns.message.Message`` object.
+ Returns a ``(dns.message.Message, float)`` tuple of the received message
+ and the received time.
"""
wire = b''
Raises if the message is malformed, if network errors occur, of if
there is a timeout.
- Returns a ``dns.message.Message`` object.
+ Returns a ``(dns.message.Message, float)`` tuple of the received message
+ and the received time.
"""
ldata = _net_read(sock, 2, expiration)