⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 getaddrinfotest.cpp

📁 qt-x11-opensource-src-4.1.4.tar.gz源码
💻 CPP
字号:
/* Sample program for configure to test for getaddrinfo on the unix     platform. we check for all structures and functions required. */#include <sys/types.h>#include <sys/socket.h>#include <netdb.h>int main(){    addrinfo *res = 0;    if (getaddrinfo("foo", 0, 0, &res) == 0)        freeaddrinfo(res);    gai_strerror(0);        return 0;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -