SlideShare ist ein Scribd-Unternehmen logo
1 von 19
Chat Application: a Java-based
chat application
Guided By Prepared By
Ms Nehal Pa5tel Parth
Patel
(12IT066)
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.
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.
• 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.
How Mobile Chat application looks like
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.
• On the client-side: The client knows the hostname of 
the machine on which the server is running and the 
port  number  on  which  the  server  is  listening.  To 
make  a  connection  request.The  client  also  needs  to 
identify itself to the server so it binds to a local port 
number that it will use during this connection. This is 
usually assigned by the system.
• 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.
• On the client side, if the connection is accepted, a 
socket is successfully created and the client can use 
the socket to communicate with the server.
• The  client  and  server  can  now  communicate  by 
writing to or reading from their sockets.
Port Scanner
findTheApplicationPort(Host Address,
Start Port,
End Port )
Keep Trying…
Port Scanner
Chat “Client” Chat “Server”
(Port 50005)
Port Scanner
Chat “Client” Chat “Server”
(Port 50005)Try 50000…
Timeout …
Port Scanner
Chat “Client” Chat “Server”
(Port 50005)
PortScanner
Ooops!
Port Scanner
Chat “Client” Chat “Server”
(Port 50005)
PortScanner
Try 50001…
Try 50002…
Try 50003…
Try 50004…
PortScanner
Threads
Port Scanner
CheapChat
“Client”
CheapChat
“Server”
(Port 50005)PortScanner
PortScanner
Threads
Connect at
50005
Authenticate:
“Are you a
Chat server?”
Port Scanner
CheapChat
“Client”
CheapChat
“Server”
(Port 50005)PortScanner
PortScanner
Threads Reply:
“I am a Chat
server!”
Port Scanner
CheapChat
“Client”
CheapChat
“Server”
(Port 50005)
Connect at
50005
• This is how communication between server
And Client takes place using socket.
Thank You

Weitere ähnliche Inhalte

Was ist angesagt?

DFD for E-Commerce Website
DFD for E-Commerce WebsiteDFD for E-Commerce Website
DFD for E-Commerce Website
Rabart Kurrey
 

Was ist angesagt? (20)

Client server chat
Client server chatClient server chat
Client server chat
 
Minor project Report for "Quiz Application"
Minor project Report for "Quiz Application"Minor project Report for "Quiz Application"
Minor project Report for "Quiz Application"
 
Chat Application [Full Documentation]
Chat Application [Full Documentation]Chat Application [Full Documentation]
Chat Application [Full Documentation]
 
Chat application android app ppt
Chat application android app pptChat application android app ppt
Chat application android app ppt
 
Chat Application | RSD
Chat Application | RSDChat Application | RSD
Chat Application | RSD
 
CSE Final Year Project Presentation on Android Application
CSE Final Year Project Presentation on Android ApplicationCSE Final Year Project Presentation on Android Application
CSE Final Year Project Presentation on Android Application
 
Quiz app (android) Documentation
Quiz app (android) DocumentationQuiz app (android) Documentation
Quiz app (android) Documentation
 
Chat Application - Requirements Analysis & Design
Chat Application - Requirements Analysis & DesignChat Application - Requirements Analysis & Design
Chat Application - Requirements Analysis & Design
 
srs for railway reservation system
 srs for railway reservation system srs for railway reservation system
srs for railway reservation system
 
Project report on blogs
Project report on blogsProject report on blogs
Project report on blogs
 
ATM Banking
ATM BankingATM Banking
ATM Banking
 
Online Attendance System
Online Attendance SystemOnline Attendance System
Online Attendance System
 
Online Quiz System Project PPT
Online Quiz System Project PPTOnline Quiz System Project PPT
Online Quiz System Project PPT
 
project
projectproject
project
 
Online Quiz System Project Report ppt
Online Quiz System Project Report pptOnline Quiz System Project Report ppt
Online Quiz System Project Report ppt
 
Attendance management system
Attendance management system Attendance management system
Attendance management system
 
Multiuser chat application using java
Multiuser chat application using javaMultiuser chat application using java
Multiuser chat application using java
 
DFD for E-Commerce Website
DFD for E-Commerce WebsiteDFD for E-Commerce Website
DFD for E-Commerce Website
 
Railway Reservation System - Software Engineering
Railway Reservation System - Software EngineeringRailway Reservation System - Software Engineering
Railway Reservation System - Software Engineering
 
Software Requirement Specification Of Hotel Management System
Software Requirement Specification Of Hotel Management SystemSoftware Requirement Specification Of Hotel Management System
Software Requirement Specification Of Hotel Management System
 

Ähnlich wie Chat application

Private messenger
Private messengerPrivate messenger
Private messenger
Piyush Gaur
 
p2p project report
p2p project reportp2p project report
p2p project report
Yuming Guo
 

Ähnlich wie Chat application (20)

1-1.pdf
1-1.pdf1-1.pdf
1-1.pdf
 
Web server
Web serverWeb server
Web server
 
0130225347
01302253470130225347
0130225347
 
Difference between Client Polling vs Server Push vs Websocket vs Long Polling
Difference between Client Polling vs Server Push vs Websocket vs Long PollingDifference between Client Polling vs Server Push vs Websocket vs Long Polling
Difference between Client Polling vs Server Push vs Websocket vs Long Polling
 
Unit 1 web technology uptu slide
Unit 1 web technology uptu slideUnit 1 web technology uptu slide
Unit 1 web technology uptu slide
 
Web technology
Web technologyWeb technology
Web technology
 
Networking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOGNetworking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOG
 
Lecture 5
Lecture 5Lecture 5
Lecture 5
 
Realtime Applications with Laravel - LaravelLive India Online Meetup Jun 2020
Realtime Applications with Laravel - LaravelLive India Online Meetup Jun 2020Realtime Applications with Laravel - LaravelLive India Online Meetup Jun 2020
Realtime Applications with Laravel - LaravelLive India Online Meetup Jun 2020
 
5041
50415041
5041
 
Sntvt sentivate presentation_blockfyre
Sntvt sentivate presentation_blockfyreSntvt sentivate presentation_blockfyre
Sntvt sentivate presentation_blockfyre
 
Private messenger
Private messengerPrivate messenger
Private messenger
 
COMPUTER NW2 (1).pptx
COMPUTER NW2 (1).pptxCOMPUTER NW2 (1).pptx
COMPUTER NW2 (1).pptx
 
Networks
NetworksNetworks
Networks
 
1. web technology basics
1. web technology basics1. web technology basics
1. web technology basics
 
p2p project report
p2p project reportp2p project report
p2p project report
 
txtWeb
txtWebtxtWeb
txtWeb
 
Accessing network needs
Accessing network needsAccessing network needs
Accessing network needs
 
Temporary selection of server in conventional client server
Temporary selection of server in conventional client serverTemporary selection of server in conventional client server
Temporary selection of server in conventional client server
 
Overview note e-comerce
Overview note e-comerceOverview note e-comerce
Overview note e-comerce
 

Kürzlich hochgeladen

CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
VishalKumarJha10
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
mohitmore19
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 

Kürzlich hochgeladen (20)

Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
How to Choose the Right Laravel Development Partner in New York City_compress...
How to Choose the Right Laravel Development Partner in New York City_compress...How to Choose the Right Laravel Development Partner in New York City_compress...
How to Choose the Right Laravel Development Partner in New York City_compress...
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 

Chat application