
16 Mar
2011
16 Mar
'11
2:13 p.m.
I have following problem: remote hostname resolves to multiple addresses and I want to try all one by one until connection is succeeded. But: 1. current policy when multiple addresses given for hostname - try random one. 2. no API for resolving addresses. I can try to propose patch for this problem but in which direction I should go: provide resolving API or involve sequential trying of addresses? -- Alexey Martynov