A healthy diet for your Java application Devoxx France.pdf
Java-based Chat App Socket Communication
1. Chat Application: a Java-based
chat application
Guided By Prepared By
Ms Nehal Pa5tel Parth
Patel
(12IT066)
2. What is Chatting?
• On the Internet, chatting is talking to other people
who are using the Internet at the same time you
are.
• In some cases, a private chat can be arranged
between two parties who meet initially in a group
chat.
3. What is Chat Application?
• Chat Application is primarily meant based group
chat to refer to direct one-on-one chat or text.
DVS Technologies provide both type of chat
application. DVS Technologies chat application
facilitates real-time communication, with its
superior feature set and unprecedented reliability.
DVS Technologies chat application increases the
efficiency of the communication process.
4. • Many of our clients are using DVS Technologies
chat application in their websites worldwide for
communicating to their prospective clients. We
can embed different type's forms to login to the
chat application.
6. What Is a Socket?
• Definition: A socket is one endpoint of a two-way
communication link between two programs
running on the network. A socket is bound to a
port number so that the TCP layer can identify the
application that data is destined to be sent to [4].
• Normally, a server runs on a specific computer
and has a socket that is bound to a specific port
number. The server just waits, listening to the
socket for a client to make a connection request.
8. • If everything goes well, the server accepts the
connection. Upon acceptance, the server gets a
new socket bound to the same local port and also
has its remote endpoint set to the address and port
of the client. It needs a new socket so that it can
continue to listen to the original socket for
connection requests while tending to the needs of
the connected client.