[linux c]getservbyport

1 #include <stdio.h> 2 #include <unistd.h> 3 #include <netdb.h> main(int argc,char *argv[]) 6 { 7 struct servent serv; 8 struct servent *serv_info=&serv; printf(,serv_info->s_name,ntohs(serv_info->s_port)););,serv_info->s_name,ntohs(serv_info->s_port));;16 17 }

,香港虚拟主机,香港空间,香港虚拟主机你可以用爱得到全世界,你也可以用恨失去全世界

[linux c]getservbyport

相关文章:

你感兴趣的文章:

标签云: