Define the client-server model of a network application. Explain the design considerations for a network application.
Write a program to show the IP and MAC address of the system and also check if the IP address is IPv4 or IPv6.
Define URL Connection Class? Write a program to read header using header-specific methods.
Write the functions of Socket. Explain the configuration options of a TCP client socket.
Define a secure socket. Write a program to create a secure client socket.
Define Buffer. Explain buffer handling methods.
Write short notes on (any two):
a) HTTP methods
b) Datagram Packet
c) Multicast Socket
Attempt any TWO questions
[2x10=20]a) Differentiate between URL and URI class with their applications. b) Write any program to illustrate the application of RMI.
Write a TCP multithreaded server and client socket program to check the number sent by the client is either prime or composite.
Write a program to create a UDP server and client which converts the date from the client in BS to AD format. [Assume that the difference between BS and AD is 56 years, 08 months, 17 days]