2. Introducton
• The main goal of my project was to create an
instant messaging system which would be
both secure and scalable. Additionally, I
wanted this system to have a reasonable set
of functionalities. In other words, we have to
provide everything that is necessary to make it
a convenient tool without overloading it with
all the bells and whistles that can be found in
commercial applications.
4. Research paper
• From IEEE publications
• Based on LAN services
• Summary of the paper:
• : This study used socket concept to collect message.
Basically the message sent by one staff in to a socket
and pass it to another staff on the receiving side. If it is
a group chatting, a central socket will be used to collect
the message and then it will be broadcast to all staff
that is active. The relatively amorphous nature of
synchronous messaging allows it to potentially support
many different types of communication
5. Architecture
The private messenger works with the help of
server module with which every user connects
using the IP address of the server computer
and the port number for the TCP/IP
connection. Server gives the information
regarding the every connected computer and
also tells where the packet is to be delivered.
6. Layers of client and server
Application layer is the top most layer of TCP/IP model. Application
layer defines TCP/IP application protocol and how host program
interface with the transport layer services to use the network. Next
layer is our transport layer it is positioned in between application
and the internet layer. The purpose of the transport layer is to
permit devices on the source and the destination host to carry on a
conversation. Next is our internet layer which packs data into data
packets which contains source and destination address information
that is used to forward the data packets between host and across
network and the last is our network access which defines details of
how data is physically sent through the network with the help of
devices which are interfaced directly to the network medium such
as optical fiber or coaxial cables.
7. Implementation
• The Application continuously connected with the
server by sending information to it.
• When any chat request passes through, the
information is analyzed by application layer and it
returns the User Name and Client location where
the information have to been send.
• Then the TCP socket provide this information to
server using Physical layer or Network (Local Area
Network or Private Server with Public IP)
8. Result
• Till now message transferring and receiving is
successfully implemented
• File transfer is also working .
• I hope to add some more features and hope to
implement the cryptology in the project.