How to call connect() function on two different address and wait with select to find which address returned fast in c

后端 未结 0 644
情话喂你
情话喂你 2020-12-13 04:59

I have two IP address for a host and I would like to do a connect call on both of them at the same time and then wait on them with the select(), which ever IP returns first,

相关标签:
回答
  • 消灭零回复
提交回复
热议问题