0% found this document useful (0 votes)
19 views8 pages

Sridhar

Uploaded by

weblab123458
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views8 pages

Sridhar

Uploaded by

weblab123458
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

Visvesvaraya Technological University

Belagavi -590018

SYNOPSIS
on
Chatting Application

Submitted in Partial Fullfilment as a requirment of


BACHELOR OF ENGINEERING
in
COMPUTER SCIENCE AND ENGINEERING

Submitted by
AAMEER HUSSAIN 4YG22CS400
NISHANTH S R 4YG22CS406
VIKAS M 4YG21CS121
V MOHAN SRIDHAR 4YG21CS115

Under the Guidance of


Ms.Shashikala M KB.E,M.T ech
Assistant Professor

DEPARTMENT OF COMPUTER SCIENCE AND


ENGINEERING
Navkis college of engineering, Hassan
2023-24

1
ABSTRACT

Teleconferencing or chatting refers to any kind of communication


that offers a real-time transmission of messages from sender to the
receiver. Chatting is a method of using technology to bring people
and ideas together despite the geographical barriers. The
technology to provide the chatting facility has been available for
years, but the acceptance is quite recent. Analysis of chatting
provides an overview of the technologies used, available features,
functions, system of the architecture of the application, the
structure of database of an Instant Messaging application:
IChat(IC). The objective of IC application is to facilitate text
messaging, group chatting option, data transfer without size
restriction which is commonly seen in most of the messaging
applications.

2
OBJECTIVES

The aim of this project is to express how we can implement a


simple chat application between a server and a client? The
application is a desktop based application.The project is developed
in Java SE language executed on a single stand-alone java across a
network using loop back address concept.
Application consists of two programs:

1. Server
2. Client
1. Server: The server module of the application waits for the client to
connect to it. Then if connection is granted a client interacts com-
municates and connects to the server, it can mutually communicate
with the server. The duty of the server is to let clients exchange the
messages.
2. Client: The client module is the one that utilizer sends requests to
the server. Utilizer utilizes the client as the means to connect to the
server. Once he establishes the connection, he can communicate to
the connected server.

3
Project Scope
This project can be mainly divided into two modules:
1. Server
2. Client
This project is mainly depended on client/server model. The client
requests the server and server responses by granting the clients
request. The proposed system should provide both of the above
features along with the followed ones:
1. Server: A server is a computer program that provides services to
other computer programs in the same or other computers. The
computer that a server program runs in is also frequently referred
to as a server. That machine may be a dedicated server or used
for other purposes as well.The server is always waiting for client’s
requests. The client come and go down but the server remains the
same. A server application normally listens to a specific port waiting
for connection requests from a client. When a connection request
arrives, the client and the server establish a dedicated connection
over which they can communicate. During the connection process,
the client is assigned a local port number, and binds a socket to
it. The client talks to the server by writing to the socket and gets
information from the server by reading from it. Similarly, the server
gets a new local port number.
1.THE SERVER SCREEN

4
2.Client:

On the client site 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 tries to rendezvous with
the server on the server’s machine and port. 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.
The model used for this project is the single server –
Single client models.
The following specifications must be implemented:
1. The server and client are two separate programs.

2.THE CLIENT SCREEN

5
Methodology

Client-side:

This is the app you interact with on your phone


or computer. It handles tasks like displaying
messages, sending new messages, and user
interface functionalities.

Server-side:
This acts as a central hub that manages
communication between clients. It performs
several key functions:

1. User management: Stores user information


and facilitates login/logout processes.
2. Connectivity: Establishes connections between
clients, allowing them to see each other’s online
status and send messages.
3. Messaging: Receives messages from a sender,
and securely delivers them to the intended
recipient(s). This might involve storing messages
temporarily if the recipient is offline.

6
Communication flow:

1. Client connects: The client application


initiates a connection with the server.
2. Message sending: When you compose and
send a message, the client app transmits it to the
server.
3. Server routing: The server deciphers the
recipient information and routes the message
accordingly.
4. Message delivery: The server delivers the
message to the recipient’s client application (if
online) or stores it for later retrieval.
5. Message received: The recipient’s client
application displays the received message.

7
Implications Of the Project

We Developed network applications in Java by


using sockets, threads, and Web services.These
software is portable, efficient, and easily
maintainable for large number of clients. Our
developed web-based chatting software is unique
in its features and more importantly easily
customizable. The java.net package provides a
powerful and flexible set of classes for
implementing network applications. Typically,
programs running on client machines make
requests to programs on a server Machine.

You might also like