Showing posts with label Socket Programming. Show all posts
Showing posts with label Socket Programming. Show all posts

Monday, 22 July 2019

Client Server chat program (application) in Java using Socket Programming


                      In this post, we will see Client Server chat program (application) in Java using Socket Programming.
                     
                      Go through the following programs.

UDP Client Server Program in Java (Socket Programming)


                      In this post, we will see UDP Client Server Program in Java (Socket Programming).
                      UDP is connection less protocol. Here, no connection is established between Client and Server. Client and Server have to create Datagram Packet and also have to mention IP address and Port number.
                      Go through the following programs.

TCP Client Server Program in Java (Socket Programming)


                      In this post, we will see TCP Client Server Program in Java (Socket Programming).
                      TCP is connection oriented protocol. Here, first we have to establish connection between Client and Server and then we can send/receive messages. 

Watch following video to get explanation of this program:


                      Go through the following programs.