How to change gethostbyname into getaddrinfo?

后端 未结 0 658
春和景丽
春和景丽 2021-02-19 04:44

I am writing a function to connect client-server. And i cannot use gethostbyname. This function is simple to use. Now i don\'t know how to use getaddrinfo. How can i change geth

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