Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add high level tcp connection establish function that takes host, port and support for A record redundancy #20

Open
hnsl opened this issue Nov 11, 2014 · 1 comment

Comments

@hnsl
Copy link
Owner

hnsl commented Nov 11, 2014

Suggested name: rio_tcp_establish(). It should take a host name and a port. The host name is resolved to a list of A records. It should try to connect to each A record in order (randomly) until all records have been exhausted. The function should not return unless a tcp connection has been established (using rio_tcp_conn_wait).

@hnsl
Copy link
Owner Author

hnsl commented Nov 11, 2014

Issue #15 is related.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant