Professional Documents
Culture Documents
8) a) Write a socket program to transfer a file over TCP. b) Write a client/server program such that they communicate with each other using UDP. 9) a) Write a program that will count the number of characters, words, and lines in a file. b) Write a program to first write and then read primitive data types using DataInputStream and DataOutputStream.