摘要: #include #include using namespace std;int main() { int result = 0; char hostName[100]; struct hostent* host = NULL; result = gethostname(hostName,... 阅读全文
posted @ 2012-12-19 17:56 春文秋武 阅读(235) 评论(0) 推荐(0) 编辑