On Thu, 2012-08-09 at 11:40 +0200, Jesper Dangaard Brouer wrote:
Guess I should have read Stephens[1] first, as this problem with
multihomed hosts is described (on page 219). He also states, that this
is a problem/feature related to Berkely-derived implementations. E.g.
Solaris handle this, the way I expected. That is, the source IP address
for the server's reply is the dest IP of the client's request.
Are you sure ?
So Solaris remembers in socket structure the destination IP address of
last UDP message delivered to userland ?
This is not multi thread safe, so it would be a very bad idea.