In this paper, the authors describe about network programming using java. The network programming is similar to socket programming or client-server programming. Where socket programming is important to understand how internet based inter-process communication work. In this paper, the authors describe about different types of socket used in inter-process communicate on. Network programming basically uses the client server model. In client-server programming there are two different programs or process, one which initiates communication called client process and other who is waiting for communication to start called server process. In this paper, they also focus on the secure socket layer needed for security purpose.