1.3 1.3 (Net web server) Figure 1.3 Communication over connection- oriented

1.3 1.3 Figure 1.3 Communication over connection- oriented sockets. Figure 1.4 Communication over connectionless sockets. u_int16_t sin_port; /* TCP/UDP port number */ struct in_addr sin_addr; /* IPv4 address */ int8_t sin_zero[8]; /* padding */ }; Normally, users will denote the peer s address either as a host name (e.g., www.example.org) or as a numeric string representation (e.g., 10.2.3.4). Mapping between host names and IP addresses is registered in theDNS database, and there are APIs to query the DNS database, such as gethostbyname(3) or gethostbyaddr(3). There are also functions to convert IP address in numeric string representation Chapter
Do you want truly affordable web hosting? With us, what you see is what you get, just click on affordable web hosting services.

Leave a Reply