© 2014 Firstsoft Technologies (P) Limited. login
Hi 'Guest'
Home SiteMap Contact Us Disclaimer
enggedu
Quick Links
Easy Studies

B.E/B.Tech DEGREE EXAMINATION APRIL/MAY 2008

Sixth Semester

Information Technology

 IT1351 – NETWORK PROGRAMMING AND MANAGEMENT

(Regulation 2004)

Time: 3 hours                                                                  Maximum marks: 100


Answer ALL questions

PART A (10 x 2 =20 marks)

1.   Why must value-result arguments such as the length of a socket address
       structure be passed by reference?

2.   Write a program to return the address family of a socket.

3.   Explain the syntax of the Signal function.

4.   Assume that in a concurrent server the child runs first after the call to fork.
     The child then completes the service of the client before the call to fork returns
     To the parent. What happens in the two calls to close?

5.   State the role of pointer queries in DNS

6.   Show the members of the structure, which referred by a function that looks
      up for a hostname

7.   How the server knows about the version of the communicating client?

8.   List out the unique values maintained by a thread.

9.   Specify the MIB-II specification of TCP connection entries.

10. List out few performance indicators in a Network Management system.

 

 

PART B (5 x 16 = 80)

11.  (a)(i) Compare the implementation details of concurrent and iterative server        (8)
             
(ii) Discuss the syntactical issues of various address conversion functions.                    (8)

(or)

(b)   (i)   Compare the IPV4, IPV6, Unix domain and datalink socket address
structures. State your assumptions.            (8)
           
       (ii)  Write notes on byte ordering functions.       (8)

12.  (a)  Discuss about the following scenarios of server operations
  (i)   Crashing of server host                   (6)

   (ii)  Crashing and rebooting of server host                      (6)

   (iii) Shutdown of server host.                 (4)

Or

(b)   Explain in detail about the various I/O models in Unix operating system.       (16)

13.  (a)  (i)   Assume both a client and server set the SO_KEEPALIVE socket option and   the connectivity is maintained between the peers but them is no exchange of  data. When the keepalive timer expires every timer expires every 2 hours, how many TCP segments are exchanged across the connection? Justify your   answer with an illustration. (6)

(ii) Write a program that checks all the socket options of a socket and sets the value  for receiver buffer size to 520 bytes.                       (10)

(or)

(b)(i)Write notes on RES_USE_INET6 resolver option in gethostbyname and  
gethostbyname2 functions.  (8)

(ii) Discuss any four TCF socket options in detail.                       (8)

14. (a)  (i)   Compare
(1)   Fork and Thread.
(2)   Wait and Waitpid  with code.                                                (4 + 4)

(ii)Write a ‘C’ program that can generate an ICMPv4 echo reply.       (8)

 (or)

(b) Write notes on
(i)  raw socket creation             (4)
(ii)  raw socket output               (6)
(iii) raw socket input                  (6)

  

15.(a) (i) Explain the data types in UNIVERSAL Class of ASN.1 for SNMP MIB.  (8)

(ii) Write notes on Network configuration control.                  (8)

(or)

(b) Explain the syntax of the various SNMPv1 message formats(16)

 


bottom