What is the Client-Server software model? Explain the strengths and weaknesses of Java programming as a network programming language.
What is the use of InetAddress class? Write a program to retrieve IP and MAC addresses?
Define URL class. Write a program to show the parts of the URL (Splitting URL).
Define Socket. Differentiate between TCP and UDP Sockets with their applications.
Define cookies. Write a program to retrieve cookie information stored in the system.
Define IP Multicast. Write a program to join a computer system in a multicast group.
Write Short Notes on (Any Two):
a) HTTP
b) RMI
c) Secure Socket
Attempt any TWO questions
[2x10=20]Write multithreaded TCP client and server socket programs for daytime service.
Write UDP client and server socket programs in which the server identifies the number sent by a client is either even or odd and replies to the client accordingly.
How blocking I/O is different from Non-Blocking I/O? Explain the basic mechanism of handling Buffers and Channels in Java with an example.