A Brief Introduction Into TCP/IP - MeraForum Community.No 1 Pakistani Forum Community

MeraForum Community.No 1 Pakistani Forum Community

link| link| link
MeraForum Community.No 1 Pakistani Forum Community » The World of Information » Computer and Information Technology » A Brief Introduction Into TCP/IP
Computer and Information Technology !!! Computer softwares, problems and about latest science Technology !!!

Advertisement
Post New Thread  Reply
 
Thread Tools Display Modes
(#1)
Old
FAJAAN FAJAAN is offline
Banned
 


Posts: 28,111
My Photos: ()
Country:
Star Sign:
Join Date: Aug 2008
Location: KARACHI
Gender: Male
Smokehat A Brief Introduction Into TCP/IP - >>   Show Printable Version  Show Printable Version   Email this Page  Email this Page   08-30-2009, 08:18 AM

Many people may not know what TCP/IP is nor what its effect is on the Internet. The fact is, without TCP/IP there would be no Internet. And it is because of the American military that the Internet exists.During the days of the cold war, the defense department was interested in developing a means of electronic communication which could survive an attack by being able to re-route itself around any failed section of the network.They began a research project designed to connect many different networks, and many different types of hardware from various vendors. Thus was the birth of the Internet (sorta). In reality, they were forced to connect different types of hardware from various vendors because the different branches of the military used different hardware. Some used IBM, while others used Unisys or DEC.

TCP (Transmission Control Protocol) and IP (Internet Protocol) were the protocols they developed. The first Internet was a success because it delivered a few basic services that everyone needed: file transfer, electronic mail, and remote login to name a few. A user could also use the “internet” across a very large number of client and server systems.
As with other communications protocols, TCP/IP is composed of layers. Each layer has it’s own responsibility:

IP is responsible for moving data from computer to computer. IP forwards each packet based on a four-byte destination address (the IP number). IP uses gateways to help move data from point “a” to point “b”. Early gateways were responsible for finding routes for IP to follow.

TCP is responsible for ensuring correct delivery of data from computer to computer. Because data can be lost in the network, TCP adds support to detect errors or lost data and to trigger retransmission until the data is correctly and completely received.

How TCP/IP works

Computers are first connected to their Local Area Network (LAN). TCP/IP shares the LAN with other systems such as file servers, web servers and so on. The hardware connects via a network connection that has it’s own hard coded unique address – called a MAC (Media Access Control) address. The client is either assigned an address, or requests one from a server. Once the client has an address they can communicate, via IP, to the other clients on the network. As mentioned above, IP is used to send the data, while TCP verifies that it is sent correctly.

When a client wishes to connect to another computer outside the LAN, they generally go through a computer called a Gateway (mentioned above). The gateway’s job is to find and store routes to destinations. It does this through a series of broadcast messages sent to other gateways and servers nearest to it. They in turn could broadcast for a route. This procedure continues until a computer somewhere says “Oh yeah, I know how to get there.” This information is then relayed to the first gateway that now has a route the client can use.

How does the system know the data is correct?

As mentioned above, IP is responsible for getting the data there. TCP then takes over to verify it.

Encoded in the data packets is other data that is used to verify the packet. This data (a checksum, or mathematical representation of the packet) is confirmed by TCP and a confirmation is sent back to the sender.

This process of sending, receiving and acknowledging happens for each individual packet sent over the Internet.

When the data is verified, it is reassembled on the receiving computer. If a package is not verified, the sending computer will re-send it and wait for confirmation. This way both computers – both sending and receiving – know which data is correct and which isn’t.

One nice thing about this protocol is that it doesn’t need to stick to just one route. Generally, when you are sending or receiving data it is taking multiple routes to get to its destination. This ensures data accuracy.

Just the facts:

TCP/IP addresses are based on 4 octets of 8 bits each. Each octet represents a number between 0 and 255. So an IP address looks like: 111.222.333.444.

There are 3 classes of IP addresses:

Ranges starting with “1” and ending with “126” (i.e.. 1.1.1.1 to 126.255.255.254) are Class A

Ranges starting with “128” and ending with 191 (i.e.. 128.1.1.1 to 191.255.255.254) are Class B

Ranges starting with 192 and ending with 254 (i.e.. 192.1.1.1 to 254.255.255.254) are Class C ( You will notice that there are no IP addresses starting with “127”. These are reserved addresses.)

Calculating an IP address

One of the things that always confused me was how to convert IP address to their Binary form. It is quite simple really. IP addresses use the Binary numbers (“1”s and “0”s) and are read from right to left.

Each position in the binary address corresponds to a number, from 1 to 128 and look like this:

128 64 32 16 8 4 2 1

To calculate an address, simply add the numbers where a “1” appears.

For example, the following:

00001010 works out to 10. Like this:

0 0 0 0 1 0 1 0
128 64 32 16 8 4 2 1

You can see that the “1”s line up with the 2 and 8 – when you add 2 plus 8 the answer is 10.

Since an IP address contains 4 of these octets, it can be displayed in binary like:

00001010.00001010.00001010.00001010

Therefore, IP Address 10.129.254.1 would be converted to:

00001010.10000001.11111110.00000001
(8+2) . (128+1) .(128+64+32+8+4+2).(1)

While it’s not important for the average person to know how to figure this stuff out, it is important for someone setting up a small network. That is because TCP/IP also uses what are called subnet masks to determine which addresses are valid.

 

Reply With Quote Share on facebook
Sponsored Links
(#2)
Old
SHAYAN SHAYAN is offline
 


Posts: 84,290
My Photos: ()
Country:
Star Sign:
Join Date: Aug 2008
Gender: Male
Default Re: A Brief Introduction Into TCP/IP - >>   Show Printable Version  Show Printable Version   Email this Page  Email this Page   09-05-2009, 05:22 AM

Thnx 4 sharin

 

(#3)
Old
FAJAAN FAJAAN is offline
Banned
 


Posts: 28,111
My Photos: ()
Country:
Star Sign:
Join Date: Aug 2008
Location: KARACHI
Gender: Male
Default Re: A Brief Introduction Into TCP/IP - >>   Show Printable Version  Show Printable Version   Email this Page  Email this Page   09-05-2009, 06:48 PM

my pleassure

 

(#4)
Old
LAMS LAMS is offline
 


Posts: 9,603
My Photos: ()
Country:
Star Sign:
Join Date: Jul 2010
Location: KARACHI
Gender: Male
Default Re: A Brief Introduction Into TCP/IP - >>   Show Printable Version  Show Printable Version   Email this Page  Email this Page   07-27-2010, 05:09 PM

nice
thx for shairing

 



(#5)
Old
FarazAli FarazAli is offline
 


Posts: 8,570
My Photos: ()
Country:
Join Date: May 2010
Location: Non Light 0f City
Gender: Male
Default Re: A Brief Introduction Into TCP/IP - >>   Show Printable Version  Show Printable Version   Email this Page  Email this Page   10-07-2010, 07:16 PM

nice sharing

 



[SIGPIC][/SIGPIC]
[/center]


میری وجہ سے جس جس کو بھی تکلیف پہنچی ہے میں ان سب سے معافی چاہتا ہوں ۔
(#6)
Old
awara pagal awara pagal is offline
 


Posts: 528
My Photos: ()
Country:
Join Date: Jan 2011
Gender: Male
Default Re: A Brief Introduction Into TCP/IP - >>   Show Printable Version  Show Printable Version   Email this Page  Email this Page   01-21-2011, 12:25 PM

very nice

 



jism-o-jaan se koi rasta meri jaanib khulta tha
habs barhta to woh bhi apni zaat se baahir aa bethi
(#7)
Old
Dil Laghi's Avatar
Dil Laghi Dil Laghi is offline
 


Posts: 520
My Photos: ()
Country:
Join Date: Jan 2011
Gender: Male
Default Re: A Brief Introduction Into TCP/IP - >>   Show Printable Version  Show Printable Version   Email this Page  Email this Page   01-23-2011, 08:28 PM

really nice sharing

 



Ruth kar tum hame bhool jane lage...
Itne dur huye ke bahat yaad ane lage,
Kaise bhula de tumhe ek hi pal me,
Jab tumhare jaise pyaar pane me kitne janmo lage


(#8)
Old
SiNiSteR SiNiSteR is offline
 


Posts: 517
My Photos: ()
Country:
Join Date: Jan 2011
Gender: Male
Default Re: A Brief Introduction Into TCP/IP - >>   Show Printable Version  Show Printable Version   Email this Page  Email this Page   01-24-2011, 11:12 AM

thanks for sharringg

 

(#9)
Old
darkness's Avatar
darkness darkness is offline
 


Posts: 542
My Photos: ()
Country:
Join Date: Jan 2011
Gender: Male
Default Re: A Brief Introduction Into TCP/IP - >>   Show Printable Version  Show Printable Version   Email this Page  Email this Page   01-25-2011, 01:15 PM

thanks for sharring

 

(#10)
Old
soni shah soni shah is offline
 


Posts: 518
My Photos: ()
Country:
Join Date: Jan 2011
Gender: Female
Default Re: A Brief Introduction Into TCP/IP - >>   Show Printable Version  Show Printable Version   Email this Page  Email this Page   01-28-2011, 03:59 PM

nice... thx for sharing

 

Post New Thread  Reply

Bookmarks

Tags
introduction, tcp or ip

« Previous Thread | Next Thread »
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
An introduction to first infallible Hazrat Muhammad (P.B.U.H.) $@!RA True Story 6 03-17-2017 03:05 PM
Beginners' Guide to Adobe Photoshop – Page 1 of 4 Introduction to Photoshop AYAZ Basic 16 02-16-2013 09:09 AM
Adobe Photoshop (Tools introduction) MFT#1 AYAZ MF Design Tutorials 8 08-25-2011 11:44 PM


All times are GMT +5. The time now is 05:05 AM.
Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.

All the logos and copyrights are the property of their respective owners. All stuff found on this site is posted by members / users and displayed here as they are believed to be in the "public domain". If you are the rightful owner of any content posted here, and object to them being displayed, please contact us and it will be removed promptly.

Nav Item BG