[usocket-devel] socket-connect and hostnames resolved to multiple addresses
Alexey Martynov
martynov.alexey at gmail.com
Wed Mar 16 14:13:12 UTC 2011
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
More information about the usocket-devel
mailing list