JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD
JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD B.Tech III NETWORK PROGRAMMING Previous Question Paper (August/September - 2021 - R18)
Answer any five questions. All questions carry equal marks.
Main
Explain the function listen().
Answer
The listen() function is used by a passive socket (server) to indicate its willingness to accept incoming connections. It converts an unconnected socket into a passive socket, allowing it to transition to the LISTEN state. The function signature is
Explain the function bind().
Answer
The bind() function assigns a local protocol address to a socket. It associates a specific IP address and port number with the socket file descriptor. For a TCP server, it is typically called before listen() to specify the port on which the server will receive incoming connections. The function signature is
Explain the function accept().
Answer
Sign in to view the complete answer paper.
Explain in detail about address conversion functions.
Answer
Sign in to view the complete answer paper.
Discuss the syntactical issues of various address conversion functions.
Answer
Sign in to view the complete answer paper.
Describe briefly about UDP Echo Client/server.
Answer
Sign in to view the complete answer paper.
Explain Lack of flow control with UDP.
Answer
Sign in to view the complete answer paper.
Explain in detail about the TCP Echo client server with suitable diagram.
Answer
Sign in to view the complete answer paper.
Explain Crashing and Rebooting of server host shutdown of server host.
Answer
Sign in to view the complete answer paper.
Explain in detail about the differences between TCP Sockets and UDP Sockets.
Answer
Sign in to view the complete answer paper.
Explain the following functions: i) recv() ii) send().
Answer
Sign in to view the complete answer paper.
Explain Generic socket options in IPV6.
Answer
Sign in to view the complete answer paper.
Explain the following functions: i) readv() ii) writev().
Answer
Sign in to view the complete answer paper.
Explain the following: a) syslog Function b) daemon_init Function c) inetd Daemon d) daemon_inetd Function.
Answer
Sign in to view the complete answer paper.
Explain how to examine the UDP checksum field with an example.
Answer
Sign in to view the complete answer paper.
Describe ICMP message Daemon.
Answer
Sign in to view the complete answer paper.