正在加载图片...
Looking up a Domain Name a Socket APi includes library routines, inet addr and gethostbyname to perform the conversion ■ inet addr; Takes dotted decimal address(in AScID and returns the ip address in binary a gethostbyname Takes the domain name and returns the address of a hostnet structure containing the Ip address in binary CSIE NTUT Taiwan 10CSIE, NTUT, Taiwan 10 Looking up a Domain Name ◼ Socket API includes library routines, inet_addr and gethostbyname to perform the conversion ◼ inet_addr: Takes dotted decimal address (in ASCII) and returns the IP address in binary ◼ gethostbyname: Takes the domain name and returns the address of a hostnet structure containing the IP address in binary
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有