You are on page 1of 2

Computer Networks (Network Programming Lab) VIVA 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16.

Define computer networks? What is the use of it? Explain the various models used for computer network? What is a server and what is a client? What is client server communication? What is a Socket? What is the use of it? How do create socket? What are the basic socket system calls? Explain them with signatures? Explain various structures used in network programming? What are the various advanced socket system calls? What do you mean by peer entity? How do you get the peer details? Differentiate between concurrent and iterative servers? What do you mean by connection oriented and connection less services? What is TCP? What are the applications of TCP? What is UDP? What are the applications of UDP? Explain the following commands used in networks and their usage: a. PING b. TELNET c. FTP d. TFTP e. NETSTAT f. ARP g. IFCONFIG What do you mean by an echo server? Which protocols are used in connection oriented and connection less services? What is port address and IP address? What is the format of IP Address? Specify the classification of IP Address (various classes, i.e., class A, class B, etc..) Which layer has TCP and UDP protocols? Which layer has IP protocol? What is the difference between IPV4 and IPV6? Specify the protocols used in each layer? What is a protocol? What is use of htons(), ntohs(), ntohl(), htonl(), inet_ntoa(), inet_addr() Why do you use INADDR_ANY constant? How do you set various options to socket? Specify some of the options? Explain the select() system call? What is IO Multiplexing? What do you mean by synchronous IO and Asynchronous IO? What is signal()? How do you handle signals?

17. 18. 19. 20. 21. 22. 23. 24. 25. 26. 27. 28. 29. 30. 31. 32. 33.

34. 35. 36. 37. 38. 39. 40. 41. 42. 43. 44. 45.

What is the use of sigblock, sigmask, signal, sigsetmask, fcntl functions? What do you mean by Non-blocking IO? What do you mean by fork, thread? What do you mean by multi threading? How the process differs from a thread? What do you mean by file server? What is RPC? What is the use of it? What are stubs and skeletons? What is marshalling and un-marshalling? What is XTI and specify the various system calls used in XTI? What is the use of getsock name system call? What is the use of binding?

You might also like