Daniel-Constantin Mierla writes:
The address, port and protocol are taken from listen socket by the usual record_route() function, they are known.
Yes, that is what I'm normally using.
I haven't tested yet, if I only give host, will record_route_preset() add both port and transport automatically based on which socket is used to send the request out.
In the case of record_route_preset(), it is the parameters that have to set them, address, port and transport, it is nothing added related to them.
Yes, and that complicates matters. That's why I proposed the possibility to tell to record_route() to use FQDN instead of IP address.
-- Juha