Professional Documents
Culture Documents
“LAN MESSENGER”
At
Available at www.mindstien.com 1
Abstract
____________________________________________________________________________________________________________
____________________________________________________________________________________________________________
Available at www.mindstien.com 2
INDEX
TOPICS PAGE NO.
____________________________________
1. COMPANY PROFILE 7
Introduction 8
National Internet Backbone(NIB) 11
Service Provided by BSNL 13
Objective of the company 14
2. INTRODUCTION 16
Introduction 17
Network Classification 17
Types of Network 19
Basic hardware Components 28
3. PROJECT OVERVIEW 34
Introduction 35
User Requirement Specification 35
Architecture 37
Analysis 42
6. INTRODUCTION TO SOFTWARE 59
Software Used 60
Microsoft Visual Studio 60
Features 62
Supported Products 63
Visual Studio 2008 67
Comparison of Product 70
7. SOFTWARE TECHNOLOGY-VB.NET 71
Introduction to VB.NET 72
Available at www.mindstien.com 3
Versions of VB.Net 72
Visual Basic 76
.Net Framework 78
8. BROADBAND TECHNOLOGY 80
Introduction 81
Broadband Technology 85
BSNL Broadband 95
9. CONCLUSION 97
11. BIBLIOGRAPHY 99
Available at www.mindstien.com 4
CHAPTER 1
COMPANY PROFILE
________________
Introduction
National Internet Backbone(NIB)
Service Provided by BSNL
Objective of the company
INTRODUCTION
Available at www.mindstien.com 5
Bharat Sanchar Nigam Ltd. (BSNL) main building in southern Mumbai.
Available at www.mindstien.com 6
BTS, 287 Satellite Stations, 480196 Rkm of OFC Cable,
63730 Rkm of Microwave Network connecting 602
Districts, 7330 cities/towns and 5.5 Lakhs villages.
BSNL has more than 2.5 million WLL subscribers and 2.5
million Internet Customers who access Internet through
various modes viz. Dial-up, Leased Line, DIAS, Account
Less Internet(CLI). BSNL has been adjudged as the
NUMBER ONE ISP in the country.
Available at www.mindstien.com 7
BSNL has set up a world class multi-gigabit, multi-protocol
convergent IP infrastructure that provides convergent
services like voice, data and video through the same
Backbone and Broadband Access Network. At present
there are 0.6 million DataOne broadband customers.
The company has vast experience in Planning,
Installation, network integration and Maintenance of
Switching & Transmission Networks and also has a world
class ISO 9000 certified Telecom Training Institute.
Available at www.mindstien.com 8
National Internet Backbone(NIB) of BSNL
Available at www.mindstien.com 10
Service Provided by BSNL
Available at www.mindstien.com 11
• Multicasting: This is to provide video
multicast services for application in distance
education, telemedicine etc
• Dial VPN Service: This service allows remote
users to access their private network securely
over the NIB-II infrastructure.
• Video and Audio Conferencing:
• Content based Services: Like Video on
Demand, Interactive Gaming, Live and time
shifted TV
Objective
Available at www.mindstien.com 12
VISION, MISSION AND OBJECTIVE OF BSNL
VISION
To become the largest telecom Service Provider in Asia.
MISSION
i. To provide world class State-of-art technology telecom
services to its customers on demand at competitive prices.
OBJECTIVES
• To be the Lead Telecom Services Provider.
• Contribute towards:
i. National Plan Target of 500 million subscriber base for India
by 2010.
ii. Broadband customers base of 20 million in India by 2010 as
per Broadband Policy 2004.
iii. Providing telephone connection in villages as per
government policy.
iv. Implementation of Triple play as a regular commercial
proposition.
Available at www.mindstien.com 13
CHAPTER 2
INTRODUCTION TO COMPUTER
NETWORK
__________________
Introduction
Network classification
Types of networks
Basic hardware components
Available at www.mindstien.com 14
Definition: Computer network is a group of interconnected
computers. Networks may be classified according to a wide variety
of characteristics.
Introduction:
Network classification:
Connection method
Computer networks can also be classified according to the
hardware and software technology that is used to interconnect the
individual devices in the network, such as Optical fiber, Ethernet,
Wireless LAN, HomePNA, Power line communication or G.hn.
Available at www.mindstien.com 15
ITU-T G.hn technology uses existing home wiring (coaxial cable,
phone lines and power lines) to create a high-speed (up to 1
Gigabit/s) local area network.
Scale
Networks are often classified as Local Area Network (LAN), Wide
Area Network (WAN), Metropolitan Area Network (MAN),
Personal Area Network (PAN), Virtual Private Network (VPN),
Campus Area Network (CAN), Storage Area Network (SAN), etc.
depending on their scale, scope and purpose. Usage, trust levels
and access rights often differ between these types of network - for
example, LANs tend to be designed for internal use by an
organization's internal systems and employees in individual
physical locations (such as a building), while WANs may connect
physically separate parts of an organization to each other and may
include connections to third parties.
Network topology
Computer networks may be classified according to the network
topology upon which the network is based, such as bus network,
star network, ring network, mesh network, star-bus network, tree
or hierarchical topology network. Network topology signifies the
way in which devices in the network see their logical relations to
one another. The use of the term "logical" here is significant. That
is, network topology is independent of the "physical" layout of the
network. Even if networked computers are physically placed in a
linear arrangement, if they are connected via a hub, the network
has a Star topology, rather than a bus topology. In this regard the
visual and operational characteristics of a network are distinct; the
logical network topology is not necessarily the same as the
Available at www.mindstien.com 16
physical layout. Networks may be classified based on the method
of data used to convey the data, these include digital and analog
networks.
Types of networks
Available at www.mindstien.com 17
Local area network:
Available at www.mindstien.com 18
catalog. Each workgroup can get to its local printer. Note that the
printers are not accessible from outside their workgroup.
Available at www.mindstien.com 19
In the case of a university campus-based campus area
network, the network is likely to link a variety of campus buildings
including; academic departments, the university library and student
residence halls. A campus area network is larger than a local area
network but smaller than a wide area network (WAN) (in some
cases).
Available at www.mindstien.com 20
Metropolitan area network
Available at www.mindstien.com 21
formally, a WAN is a network that uses routers and public
communications links. Contrast with personal area networks
(PANs), local area networks (LANs), campus area networks
(CANs), or metropolitan area networks (MANs), which are usually
limited to a room, building, campus or specific metropolitan area
(e.g., a city) respectively. The largest and most well-known
example of a WAN is the Internet. A WAN is a data
communications network that covers a relatively broad geographic
area (i.e. one city to another and one country to another country)
and that often uses transmission facilities provided by common
carriers, such as telephone companies. WAN technologies
generally function at the lower three layers of the OSI reference
model: the physical layer, the data link layer, and the network
layer.
Global area network
Internetwork
Available at www.mindstien.com 24
In modern practice, the interconnected networks use the
Internet Protocol. There are at least three variants of internetwork,
depending on who administers and who participates in them:
• Intranet
• Extranet
• Internet
>Intranet
>Extranet
Available at www.mindstien.com 25
definition, an extranet cannot consist of a single LAN; it must have
at least one connection with an external network.
> Internet
Available at www.mindstien.com 26
Network interface cards
Repeaters
Available at www.mindstien.com 27
A repeater is an electronic device that receives a signal
and retransmits it at a higher power level, or to the other side of an
obstruction, so that the signal can cover longer distances without
degradation. In most twisted pair Ethernet configurations, repeaters
are required for cable which runs longer than 100 meters.
Hubs
Bridges
Available at www.mindstien.com 28
A network bridge connects multiple network segments
at the data link layer (layer 2) of the OSI model. Bridges do not
promiscuously copy traffic to all ports, as hubs do, but learn which
MAC addresses are reachable through specific ports. Once the
bridge associates a port and an address, it will send traffic for that
address only to that port. Bridges do send broadcasts to all ports
except the one on which the broadcast was received.
Switches
Available at www.mindstien.com 29
A switch is a device that forwards and filters OSI layer
2 datagrams (chunk of data communication) between ports
(connected cables) based on the MAC addresses in the packets.[5]
This is distinct from a hub in that it only forwards the packets to
the ports involved in the communications rather than all ports
connected. Strictly speaking, a switch is not capable of routing
traffic based on IP address (OSI Layer 3) which is necessary for
communicating between network segments or within a large or
complex LAN. Some switches are capable of routing based on IP
addresses but are still called switches as a marketing term. A
switch normally has numerous ports, with the intention being that
most or all of the network is connected directly to the switch, or
another switch that is in turn connected to a switch.[6]
Available at www.mindstien.com 30
Routers
Available at www.mindstien.com 31
CHAPTER 3
PROJECT OVERVIEW
__________________
Introduction
User Requirement Specification
Architecture
Analysis
Available at www.mindstien.com 32
Introduction
Available at www.mindstien.com 33
password or username to operate it. They are automatically
computer of a network.
Available at www.mindstien.com 34
follows in a treeview.
1. Deployment view:-
Client Side Software Server Side Software
Friend List GUI L Registration Online User Log In
Manager A process Information process
N Handler handler handler
Network handler
Voice Text File Control Conference
Chat Message Transfer Messages Message
Hander Handler Handler Handler Handler
Network handler
Figure 1. This diagram shows the architecture of the software in the deployment view with various
facilities like voice chat, text message, file transfer and conference
Available at www.mindstien.com 35
Figure 1. describes the architecture of the software system
in the allocation view. The software created by me
support only text messaging so in its architecture only
text message handler and control message handler will
only appear. On the server side, since there is no login or
registration required in the software created by me, both
this handler will not be present but a handler that
automatic controls the availability of the pc in the local
network must be present. In many cases, in LAN
messenger no server side client is required because the
Pcs are connected in a common network without access
to the server. So this architecture is based on the server
connection. The client side software is deployed on the
user’s computer and the server side software is deployed
on the pre-decided server.
In the client side software, the network
handler is used to communicate and send various
messages over the network. The text message handler is
to handle the text messages sent between the users. The
voice chat handler and the file transfer handler,
similarly, handle the voice chat and the file transfer
between the clients. The temporary message store is used
to store the messages temporarily when the user disables
the message receiving on his software. The friend list
manager is used to manage the friends of the user, which
includes deciding whether a particular user is a friend or
Available at www.mindstien.com 36
not, whether the user wants to receive messages from a
particular user or not.
Module View
We describe the logical structure of the
architecture using the module view. The module view for
the software of the client and the server is given
separately. It shows how the various modules in the
system are interrelated to each other.
Available at www.mindstien.com 37
to receive different user messages like send a text
message, send a file etc. The GUI depends on the friend
The various uses cases that the software is required to address are:
Available at www.mindstien.com 40
CHAPTER 4
__________________
Introduction to Designing the software
Chat protocol Design
File Transfer Design
Voice chat Design
User-Interface Design
Available at www.mindstien.com 41
Introduction of Designing the software
Available at www.mindstien.com 42
replying to the transmitter. If the sender does not receive an
Available at www.mindstien.com 43
the packet is as follows:
REGISTER_REPLY_OK User name
(Max 15 character)
USER_LIST.
i. USER_LOG_OFF: This packet is sent by a client when the user
decides to log off. It sends this packet using
multicast to the group that is joined in by
all the users when they log in. The
Available at www.mindstien.com 45
structure of the packet is as follows:
USER_LOG_OFF User name
(Max 15 character)
Available at www.mindstien.com 47
VOICE CHAT DESIGN
When a user decides to transfer a file or a directory, he sends a
VOICE_CALL packet containing the name of the file or
directory he wants to send. When the intended recipient
replies with a VOICE_CALL_ACCEPT, the caller starts a
stream connection (TCP) to connect to the already waiting
recipient. We decided to use the ITU G.117 standard as the codec
for the encoding of the voice of the users. This is a logarithmic
pulse modulation scheme which samples the input analog voice at
8 KHz to get a bit stream of 64Kbps.
User Interface Design
In order to make the user interface easy to use, we would
have a graphical interface. The software developed by me has only
the features of text messaging and its plan and design is shown
below.
This software is created by me in which it has function of ping and
send only. The column below IP address shows the tree view of
the computer connected in network as described earlier. The row
above IP address shows the name of the receiver
Available at www.mindstien.com 48
LAN messenger can also have the user-interface facilities which
includes log-in, voice chat, conference and file transfer
created using JAVA software is shown below. This is only the
sample or visual view of what can be created in this software. The
interface would consist of mainly three types of screens which are
the login screen, the online users’ list screen and the messaging
screen. The plan and design of these screens is given in Figure 5 to
Figure 7 which was created in Java but this can also be possible
using vb.net.
This is the view of the log-in screen which requires password for log-in
purpose. The software created by me does not require any password setting.
It only requires the Ip address and username, the user are automatically
logged on as soon as they upload the software with a network of number of
computer.
Available at www.mindstien.com 49
Fig. 7. Design of the Messaging Screen
Available at www.mindstien.com 50
CHAPTER 5
_________________________________________________________________________
Available at www.mindstien.com 51
Concept of the software
The concept of the software is very simple. Logic behind this
software is of course related to messaging among the group of
computer in the network. The logic behind this software is
explained below. For example, there are 10 pcs connected to each
other directly or through LAN or through a server. Each of this pcs
must be identified by their name rather than their IP address i.e. 1 pc
can be name as ‘A’, second as ‘B’ and so on. Now a person named
as ‘A’ would like to send message to ‘D’ . The message send by
‘A’ appears on ‘D’ as a popup. So Winpopup messenger is also
know as a LAN messenger. And it is compatible in most version of
Windows as discussed earlier. This software is created in VB.Net
using a tool named Microsoft Visual Studio which is used to create
as well as to stimulate the software.
Available at www.mindstien.com 52
Figure 1. Microsoft visual studio software.
2. After entering the code in the top left block which support a
Available at www.mindstien.com 53
definite format form.vb . After creating and saving file click on the
build solution in the build tool to check the the errors in the coding.
Figure.3
Available at www.mindstien.com 54
output as shown in figure5.
Figure 4.
Available at www.mindstien.com 55
Since no computer is installed in a network no name in the tree
in figure6. is obtained
Figure 6. Number of pcs connected
Available at www.mindstien.com 56
CHAPTER 6
INTRODUCTION TO SOFTWARE
__________________
Software Used
Microsoft Visual Studio
Supported products
Visual Studio 2008
Comparison of products
Available at www.mindstien.com 57
Software Used
Developed by Microsoft
Operating System- Microsoft Windows
Microsoft Silverlight.
Available at www.mindstien.com 58
support for source control systems (like Subversion
Visual Basic .NET), and C# (via Visual C#). Support for other
Microsoft Visual Basic, Visual J#, Visual C#, and Visual C++.
C++, C#, J#) of Visual Studio 2005 are available for free to
Available at www.mindstien.com 59
students as downloads via Microsoft's DreamSpark program.
Features
It has following features
Available at www.mindstien.com 60
only variables, functions and methods but also
machine-level debugger.
tools include:
Available at www.mindstien.com 61
can compile either in C mode or C++ mode. For C, it follows
the ISO C standard with parts of C99 spec along with MS-
the ANSI C++ spec along with a few C++0x features. It also
Like Visual C#, Visual Basic also supports the Visual Studio
Available at www.mindstien.com 63
Class designer, Forms designer, and Data designer among
Puget Sound, Orcas Island. The source code for the Visual Studio
choose which version of the .NET Framework (out of 2.0, 3.0, 3.5,
runs on. Visual Studio 2008 also includes new code analysis tools,
including the new Code Metrics tool. For Visual C++, Visual
Available at www.mindstien.com 65
Studio adds a new version of Microsoft Foundation Classes (MFC
9.0) that adds support for the visual styles and UI controls
managed objects.
(for defining the type mappings and object encapsulation for SQL
Available at www.mindstien.com 66
The Visual Studio debugger includes features targeting
mode, in the Threads window, which lists all the threads, hovering
source code and debug symbols and allow stepping into the BCL
the year.
Available at www.mindstien.com 67
Comparision of different Products.
Target Visual
Extern Setup MSDN Target Itaniu Studio
Extens Class Refact Debug
Product al Project Integr Native m Tools
ions Designer oring ging
Tools s ation 64 bit Proces for
sors Office
Visual reduce
Studio d
Yes Yes Yes Yes Yes Yes Yes No No
Standa functio
rd nality
Visual
Studio
Yes Yes Yes Yes Yes Yes Yes Yes No Yes
Profess
ional
Visual
Studio
Team Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
System
editions
Available at www.mindstien.com 68
CHAPTER 7
__________________
Introduction to VB.Net
Versions of VB.net
Visual Basic
.NET framework
Available at www.mindstien.com 69
Introduction to VB.Net
Versions of VB.net
Available at www.mindstien.com 70
Visual Basic .NET (VB 7)
community.
runtime.
Available at www.mindstien.com 71
Visual Basic 2005 (VB 8.0)
Visual Basic 2005 is the name used to refer to the update to Visual
the title.
Available at www.mindstien.com 72
o Partial classes, a method of defining some parts of a
class in one file and then adding more definitions later;
particularly useful for integrating user code with auto-
generated code
o Nullable Types
• XML comments that can be processed by tools like NDoc to
produce "automatic" documentation
• Operator overloading
• Support for unsigned integer data types commonly used in
other languages
novices, the Visual Studio 2005 Express series. One edition in the
Studio Express.
Available at www.mindstien.com 73
versions. On the other hand, Visual Basic 2005 Express Edition
Basic.
Visual Basic
BASIC heritage.
Visual Basic can also use the Windows API, but doing so requires
Basic).
platform.
Available at www.mindstien.com 76
numeric algorithms, and network communications. The class
the specific CPU that will execute the program. The CLR also
BROADBAND TECHNOLOGY
_________________
Introduction
Broadband Technology
Bsnl Broadband
Available at www.mindstien.com 78
Introduction
Definition:--- Broadband
In Telecommunication
Available at www.mindstien.com 79
may be divided into channels or frequency bins. Broadband is
Morse code; a broader band will carry speech; a still broader band
In data communications
Available at www.mindstien.com 80
56,000 bits per second.
In DSL
The various forms of digital subscriber line (DSL)
In Ethernet
A baseband transmission sends one type of signal using a
DSL data links, and has a high data rate itself, so is sometimes
In power-line communication
Power lines have also been used for various types of data
Available at www.mindstien.com 81
communication. Although some systems for remote control are
home wiring (including power lines, but also phone lines and
coaxial cables).
In video
Broadband in analog video distribution is traditionally
Internet video has come to mean video files that have bitrates high
them.
Available at www.mindstien.com 82
Broadband Technology
only recently being used in fiber to the premises and fiber to the
WiMAX.
Available at www.mindstien.com 83
DSL (ADSL/SDSL)
Multilinking Modems
modems is faster than 90 kbit/s. The Internet and phone charge will
them into your network as one double data rate, more resilient
Available at www.mindstien.com 84
internet connection. By choosing two independent internet
line with least load which means should one line fail, the second
ISDN
Available at www.mindstien.com 85
with 23 DS0 channels and total bandwidth of 1,544 kbit/s (US
physical aspects of the line are shared by the ISDN-PRI used for
using large PBX systems, rather than for data. One obvious
lines used 56 kbit/s rather than 64 kbit/s "B" channels of data. This
Advantages:
Available at www.mindstien.com 86
data channel. When a phone call is ended, the bearer channel
can immediately dial and re-connect itself to the data call.
4. Call setup is very quick.
5. Low latency
6. ISDN Voice clarity is unmatched by other phone services.
7. Caller ID is almost always available for no additional fee.
8. Maximum distance from the central office is much greater
than it is for DSL.
9. When using ISDN-BRI, there is the possibility of using the
low-bandwidth 16 kbit/s "D" channel for packet data and for
always on capabilities.
Disadvantages:
Wired Ethernet
the Internet would indicate that the Internet access is very fast.
Available at www.mindstien.com 87
However, just because Ethernet is offered doesn't mean that the
into the building would of course govern the end-user's data rate.
Rural broadband
Available at www.mindstien.com 88
recover equipment costs, but each rural customer may require
its own pitfalls and limitations. Some choices are better than
Satellite Internet
Internet access, but in rural areas it may only compete with cellular
broadband options.
space to the satellite and back to Earth again. The signal delay can
Available at www.mindstien.com 89
input such as certain multiplayer Internet games and first-person
than tolerable for just basic email access and web browsing and in
Advantages
Disadvantages
Cellular broadband
connection.
Power-line Internet
complex issues, the primary one being that power lines are
devices often introduce noisy harmonics into the line. The system
Wireless ISP
Available at www.mindstien.com 91
service spanning only 100-150 meters (300-500 ft). By focusing
iBlast
to October 2005.
Advantages:
Disadvantages:
Available at www.mindstien.com 92
BSNL Broadband
technology (on the same copper cable that is used for connecting
India at par with more advanced nations. The services that would
Available at www.mindstien.com 93
Broadband Service by Bsnl
Available at www.mindstien.com 94
CONCLUSION:
Available at www.mindstien.com 95
FUTURE EXPANSION:
-File Transfer
-Voice Chat
-Conference
but the above three facilities are the essential part of it.
Available at www.mindstien.com 96