Ans : After creating “socket” and before Sending/Receiving data using socket, it must beassociated with a local port and a network interface address. That’s why we can saymapping of a socket to a port number and IP address is called Read More …
Blog
Ques : What is Socket Family ?
Ans : As you know socket family defines the protocol group needed forcommunication. At the time of programming you should choose one of the givenoptions but because we are concerned about TCP/IP you need to rememberAF_INET. AF_UNIX /*Unix internal protocols Read More …
Ques : Describe UDP header
Ans : 1) Source Port Number: A 16-bit number which defines the source port numberfor a particular application program that is sending the UDP datagrams. 2) Destination Port Number: A 16-bit number that defines the destination portnumber for a particular Read More …
Ques : Describe TCP header
Ans : 1) Source Port Number: This is a 16-bit number which defines the source portnumber for a particular application program that is sending the TCP segments. 2) Destination Port Number: This is a 16-bit number which defines thedestination port Read More …
What is Network Interface Layer ?
Ans : The Network Interface layer also called the Network Access layer that handlesplacing TCP/IP packets on the network medium and receiving TCP/IP packets off thenetwork medium. TCP/IP was designed to be independent of the network accessmethod, frame format, and Read More …
Ques : Describe Internet Protocol
Ans : IP is the transmission mechanism used by TCP/IP protocols for host-to-hostcommunication Packets in IP layer are called datagrams. Figure 5 shows the IPdatagram format: A brief description of header fields in order is given below: • Version (4 Read More …
Why is an IP address required?
Ans : The primary goal of the Internet is to provide an abstract view of the complexitiesinvolved in it. Internet must appear as single network of computers. At the same timenetwork administrators or users must be free to choose hardware Read More …
Describe Internet Layer or Network Layer
Ans : The Internet layer is an important layer in the protocol suite. At this layer, TCP/IPsupports Internetworking Protocol (IP). IP is a host-to-host protocol. This layer isresponsible for the format of datagrams as defined by IP, and routing a Read More …
Ques : Why do we Need the Internet?
Ans : The main reason is that each computer network is designed with a specific purpose.For example, LAN is used to connect computers in a smaller area, and it provides fastcommunication. As a result, networks become specialized identify. In many Read More …
Ques : What is origin of TCP/IP and Internet ?
Ans : Communication Communication the process of sharing ideas, information, and messages with othersat a particular time and place. Communication is a vital part of personal life and isalso important in business, education, and any other situation where people encountereach Read More …