InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
What Are Sockets? How Do Sockets Work? |
|
Answer» A socket is used to connect an application to a network protocol. A socket enables communication between a client and a SERVER. The communication is started when the client is assigned a local PORT NUMBER, and binds a socket to it. The client writes on the socket and gets information from server by reading it. The Socket class is used to communicate. It provides rich SET of methods for both asynchronous and synchronous data transfer. ConnectAsync is used to start an asynchronous connection. SendAsync and ReceiveAsync are used to send and receive data. Shutdown and CLOSE methods are used to shutdown and close the sockets. A socket is used to connect an application to a network protocol. A socket enables communication between a client and a server. The communication is started when the client is assigned a local port number, and binds a socket to it. The client writes on the socket and gets information from server by reading it. The Socket class is used to communicate. It provides rich set of methods for both asynchronous and synchronous data transfer. ConnectAsync is used to start an asynchronous connection. SendAsync and ReceiveAsync are used to send and receive data. Shutdown and close methods are used to shutdown and close the sockets. |
|
| 2. |
What Is A Socket? |
|
Answer» A socket is used to connect an APPLICATION to a network protocol. A socket enables communication between a client and a server. The communication is started when the client is assigned a LOCAL port NUMBER, and BINDS a socket to it. The client writes on the socket and gets INFORMATION from server by reading it. A socket is used to connect an application to a network protocol. A socket enables communication between a client and a server. The communication is started when the client is assigned a local port number, and binds a socket to it. The client writes on the socket and gets information from server by reading it. |
|
| 3. |
Explain Why Use Multicasting? |
Answer»
|
|
| 4. |
Describe How To Control The Scope Of Multicast Transmissions.? |
|
Answer» Controlling the scope of multicast transmission restricts the range of group members. TTL (Time To Live) is one of the mechanisms to limit the scope. If the TTL value is SMALL, packets would only be multicast to SMALLER distance destinations. More the value of TTL, more would be the scope of transmission to a larger number of MACHINES. Administrative scoping is ANOTHER mechanism. In this, transmission is restricted to a specific address space of an organization or a SITE. Controlling the scope of multicast transmission restricts the range of group members. TTL (Time To Live) is one of the mechanisms to limit the scope. If the TTL value is small, packets would only be multicast to smaller distance destinations. More the value of TTL, more would be the scope of transmission to a larger number of machines. Administrative scoping is another mechanism. In this, transmission is restricted to a specific address space of an organization or a site. |
|
| 5. |
Describe How The Multicast Protocol Works? |
|
Answer» Multicast PROTOCOL or Internet protocol delivers a SINGLES message to multiple machines. One packet from the source is replicated and sent to the destination. Every multicast message requires a multi case group. The group DEFINES the addresses which will receive the message. The group is defined by the class D address. Different routing PROTOCOLS are used to find the multicast groups and build ROUTES for them. Distance Vector Multicast protocol is one of them. The receiver, to whom the multicast packet is sent to, needs to ‘join’ the group. Joining the group is enabled and managed by IGMP. Multicast routers are used to transmit the messages from one network to another. Multicast protocol or Internet protocol delivers a singles message to multiple machines. One packet from the source is replicated and sent to the destination. Every multicast message requires a multi case group. The group defines the addresses which will receive the message. The group is defined by the class D address. Different routing protocols are used to find the multicast groups and build routes for them. Distance Vector Multicast protocol is one of them. The receiver, to whom the multicast packet is sent to, needs to ‘join’ the group. Joining the group is enabled and managed by IGMP. Multicast routers are used to transmit the messages from one network to another. |
|
| 6. |
What Is Silly Window Syndrome? |
|
Answer» It is a PROBLEM that can RUIN TCP performance. This problem occurs when DATA are PASSED to the sending TCP entity in LARGE blocks, but an interactive application on the receiving side reads 1 byte at a time. It is a problem that can ruin TCP performance. This problem occurs when data are passed to the sending TCP entity in large blocks, but an interactive application on the receiving side reads 1 byte at a time. |
|
| 7. |
What Is Pim? |
|
Answer» PIM is a PROTOCOL used between the routers to forward multicast traffic. PIM works in TWO modes
PIM is a protocol used between the routers to forward multicast traffic. PIM works in two modes |
|
| 8. |
What Is The Shared Tree? |
Answer»
Where * = All SOURCES G = Destination IP address ( Multicast IP address)(224.5.5.5) Where * = All Sources G = Destination IP address ( Multicast IP address)(224.5.5.5) |
|
| 9. |
What Is The Source Tree ? |
|
Answer» Source Tree:
Where S = Source or Sender IP address ( Unicast) (192.1.1.1) G = DESTINATION IP address ( Multicast IP address) (224.5.5.5) Source Tree: Where S = Source or Sender IP address ( Unicast) (192.1.1.1) G = Destination IP address ( Multicast IP address) (224.5.5.5) |
|
| 10. |
What Is The Use Of Multicast Distribution Tree? |
|
Answer» Multicast Distribution Tree SPECIFIES the path between source and RECEIVER in which multicast TRAFFIC should be forwarded. There are mainly TWO types of Multicast Distribution Trees
Multicast Distribution Tree specifies the path between source and Receiver in which multicast traffic should be forwarded. There are mainly two types of Multicast Distribution Trees |
|
| 11. |
What Is The Difference Between Igmpv1 And Igmpv2? |
Answer»
|
|
| 12. |
What Is Igmp? |
|
Answer» IGMP is a PROTOCOL which enables the host to join PARTICULAR group by signalling the ROUTER. IGMP is a protocol which enables the host to join particular group by signalling the router. |
|
| 13. |
What Are The Protocols Used In Multicast? |
|
Answer» IGMP - PROVIDES the communication between host and Router PIM(IPV4), MLD(IPV6)- Provides the communication between Router and Router IGMP SNOOPING & CGMP - Provides the communication between Router & Switch IGMP - Provides the communication between host and Router PIM(IPV4), MLD(IPV6)- Provides the communication between Router and Router IGMP Snooping & CGMP - Provides the communication between Router & Switch |
|