def _parse_mapped_address(self, value):
        """Get IP address and port from MAPPED_ADDRESS attribute"""
        family, recv_port = struct.unpack(">xBH", value[:4])
        if family != FAMILY_IPV4:
            raise ValueError("IPv6 is not supported!")
        ip_address = socket.inet_ntoa(value[4:])
        return (ip_address, recv_port)