Pages

Saturday, August 17, 2013

Terms regarding Network Programming-Viva Questions

What is a Socket?
NAM means?
What is a Node?
What is the use of IP address?
What are the differences between IPV4 and IPV6?
What is physical address? Whether it is unique?

What is the abbreviation of MAC ?
MAC is in datalink layer.
TCP and UDP in transport layer of ISO/OSI layer.

What is the size of MAC-address? (MAC addresses are 12-digit hexadecimal numbers (48 bits in length))
What is the size of IPV4,IPV6?
What is client-server communication?
What is socket programming?
What are the socket functions we are using in TCP and UDP?
How to customize "a.out"?

How to know MAC-address ?
Win+R or open-RUN
cmd
ipconfig /all             OR     getmac

Want to know more about "socket" ??
Click here
Bind


A network socket is an endpoint of an inter-process communication flow across a computer network.

Datagram sockets, also known as connectionless sockets, which use User Datagram Protocol (UDP)

Stream sockets, also known as connection-oriented sockets, which use Transmission Control Protocol (TCP)

port is an application-specific or process-specific software construct serving as a communications endpoint in a computer's host operating system. A port is identified for each address and protocol by a 16-bit number, commonly known as the port number. The port number, added to a computer's IP address, completes the destination address for a communications session.  A port number is a 16-bit unsigned integer, thus ranging from 1 to 65535 (port number 0 is reserved and can't be used).


 An IP address serves two principal functions: host or network interface identification and location addressing. Its role has been characterized as follows: "A name indicates what we seek. An address indicates where it is. A route indicates how to get there"  IP addresses are binary numbers, but they are usually stored in text files and displayed in human-readable notations, such as 172.16.254.1 (for IPv4), and 2001:db8:0:1234:0:567:8:1 (for IPv6).
Need more about IP-address....clickhere

What is subnet-mask?

What is PING utility?

What is a loop-back address?
127.0.0.1

What is MAC-address?
Class D addresses(224.0.0.0 to 239.255.255.255)

Class E IP addresses for "reserved for future".












No comments:

Post a Comment