Andrei Pelinescu-Onciul writes:
It should work out of the box without any force_send_socket, if I understand you correctly. The source ip will be 127.0.0.1 only if you send to 127.0.0.1 (or if you have some strange routing table). If you skip the force_send_socket(), the IP in Via & RR will be the IP of the first listen address that is not localhost or mcast.
ok, i'll give it a try. how about the port? will it be the port associated with that listening ip?
-- juha