0% found this document useful (0 votes)
39 views

Netconference : A Lan Chat Messenger

This document describes a LAN chat messenger called NETCONFERENCE that allows users on the same local area network to chat in real-time. The software uses a client-server model where multiple clients can connect to a central server. It provides features for broadcasting messages to all connected clients as well as private one-on-one chatting. The software is developed using Java and utilizes socket programming for network communication between the clients and server.

Uploaded by

Gunjan Gupta
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views

Netconference : A Lan Chat Messenger

This document describes a LAN chat messenger called NETCONFERENCE that allows users on the same local area network to chat in real-time. The software uses a client-server model where multiple clients can connect to a central server. It provides features for broadcasting messages to all connected clients as well as private one-on-one chatting. The software is developed using Java and utilizes socket programming for network communication between the clients and server.

Uploaded by

Gunjan Gupta
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 23

NETCONFERENCE

(A LAN CHAT MESSENGER)

SUBMITTED BY:
GUNJAN GUPTA(271018)
JUHI BALDODIA(271025)
INTRODUCTION
 NETCONFERENCE is a tool which allows you to chat on
LAN or network with other people if they are using the
same software.
 NETCONFERENCE Software is a multi-user application
used to transfer the text, from one system to another
system over the network. The connection is achieved
through socket programming.
 The software is very user friendly and designed in such a
way that anyone can use it easily. The software
guarantees the high quality text chatting. Chat is a
generic term for what is now mostly known as instant
messaging application. Objective of the Project is to
develop an application, an Instant Messenger that will
help in communication between multiple users on a
network in real time.
WHY THIS SOFTWARE?

The LAN messenger runs inside a


company or private LAN, so only people
who are inside the firewall will have
access to the system. Communication
data does not leave the LAN and the
system can also not be spammed from
the outside.
ADVANTAGES OF USING IT!!
 Fast communication:
This chat helps in making the communication faster. The
message delivery to the other end is just the job of few
milliseconds. This really inculcates the use of this
software.
 Cheap mode of communication:
This mode of communication is best way out with
reference to cost. One can easily pass on message and
receive them too, paying just negligible amount of
money. so our project is providing this very facility.
 Save time:
Delivering of messages is just a few milliseconds task
through this software. Urgent and reliable passing of
information is feasible using the software, which we are
designing & willing to produce.
 Easy communication across distance:
Communication with people in far off areas comes to
ease with the implementation of this software on web.
 Turning to web application:
The chat uses TCP/IP sockets to communicate and can
be easily embedded into a web page. It can also be
directly applied to web by adding some additional
features to it.
INTRODUCTION TO JAVA:
 Java Programming Language
Java is an object-oriented programming language that was
designed to meet the need for a platform independent
language. Java is used to create applications that can run on a
single computer as well as a distributed network. Java is both a
language and a technology used to develop stand-alone and
internet-based applications.
 Characteristics of Java
1. SIMPLE
2. OBJECT ORIENTED
3. COMPILED AND INTERPRETED
4. SECURE
5. PORTABLE
ABSTRACT WINDOWING TOOLKIT:

 The Java programming language class library provides a user


interface toolkit called the Abstract Windowing Toolkit, or the
AWT. The AWT is both powerful and flexible.
 The user interface is that part of a program that interacts with
the user of the program.
 The AWT was designed so that programmers don't have worry
about the details of tracking the mouse or reading the keyboard,
nor attend to the details of writing to the screen.
 Because the Java programming language is platform-
independent, the AWT must also be platform-independent. The
AWT was designed to provide a common set of tools for
graphical user interface design that work on a variety of
platforms. The user interface elements provided by the AWT are
implemented using each platform's native GUI toolkit, thereby
preserving the look and feel of each platform.
SOCKET PROGRAMMING IN JAVA

Sockets: what are they?


If one looks up the definition, the most common one
would be "A socket is one endpoint of a two-way
communication link between two programs running on the
network." To put it differently, it is through sockets that
applications access the network and transmit data.

Like all other functionalities provided by Java,


functionalities to work with sockets are also "packaged"
as a package and its classes. The following are the
package and its main classes that help in accessing
sockets:
 java.net package
 ServerSocket
 Socket
 Among the above, Java abstracts out most of the low-level
aspects of socket programming. Here are the details.
 The java.net package contains all the classes required to create
network enabled applications. ServerSocket and Socket are
also part of this package. Apart from these classes, it also
contains classes to connect to the web server, create secured
sockets, and so forth.
 The ServerSocket class provides server sockets or sockets at
server side. Such sockets wait for requests over the network.
Once such requests arrive, a server socket performs operations
based on the request and may return a result. The
ServerSocket class wraps most of the options required to create
server-side sockets.
 The Socket class provides client-side sockets or simply sockets.
They are at the client side connecting to the server, sending the
request to the server and accepting the returned result.
MODULAR DESCRIPTION
 There are mainly two modules of this project
1. Client
2. Server
Features of the server
 The server enables the communication between different
clients.
 The server shows the IP addresses of the connected
clients.
 Any number of users can be connected to the server.
Features of the client
 The client can broadcast a message to all the connected
users.
 The client can select any user for chatting by entering
the system IP address of the user.
MODULAR DIAGRAM:
SYSTEM REQUIREMENTS
 HARDWARE REQUIREMENTS
NETCONFERENCE-A LAN CHAT MESSENGER
operates on terminals running Intel compatible Pentium,
Pentium pro, or Pentium IV processors or an equivalent
processor. It supports forward compatibility. The current
edition of the product does not have advanced Hardware
requirements though following hardware are
recommended. The project requires LAN Setup for the
final implementation.
 The preferred hardware platform for the server is
Processor Intel Pentium (IV)
RAM Memory 256 MB
Hard Disk Memory 10 GB
SOFTWARE REQUIREMENTS

1. JDK 1.5 OR ABOVE


2. JRE 1.3 OR HIGHER
3. OPERATING SYSTEM
 Server Side Operating System: Windows NT
(Recommended) / Windows 2000 Server / Windows
XP, Windows Vista.
 Client Machine Operating System: Windows NT
/ Windows 95, Windows 98, Windows 2000
Professional, Windows XP, Windows Vista.
FLOW CHART OF WORKING:
DFD FOR MESSAGE BROADCASTING
WORKING:
 It works on the
Client Server
Architecture
 Various Clients can be
connected to a single
server.
 The communication can
be established between
clients by connecting to
the central server.
 A specific IP address is
assigned to the server
for e.g we have
assigned IP -
192.168.1.10 with a port
number 9060 to the
server.
 Step 1 - Server is initialized
 Step 2 – Client requests the connection from the server
To connect to the server client must click on the connect button and enter the IP
address of the server.
 Step 3- Different clients are connected to the server.
 Step 4 – Clients can broadcast a single message to all the
connected clients using the outgoing message window by
typing the message and clicking the send button.
 Step 5 – Clients can privately chat with other clients by
clicking on the client name with whom they want to
privately chat.
 Step 6- Client can change rooms where he/she wants to
chat with others.
 Step 7:Client can ignore other client to chat with him/her.
 Step 8: Clients can log out from chat anytime they wish to
by cliking on exit chat button.
ARCHITECTURE:
SERVER INTERFACE:
CLIENT LOGIN INTERFACE:
CONFERENCE SCREEN:
PRIVATE CHAT SCREEN:

You might also like