Home arrow Delphi-Kylix arrow Page 3 - Client/Server Applications Made Easy
DELPHI-KYLIX

Client/Server Applications Made Easy


In this five-part series of articles we are going to discuss client/server applications and the different protocols involved with them. We are also going to look extensively at parts of the TCP/IP protocol which are critical to these kinds of applications. Then we are going to discuss how and what tools to use when translating these protocols into code.

Author Info:
By: Leidago
Rating: 5 stars5 stars5 stars5 stars5 stars / 4
December 04, 2006
TABLE OF CONTENTS:
  1. · Client/Server Applications Made Easy
  2. · Client and Server Applications
  3. · Logical Addressing and Name Resolution
  4. · Error and Flow Control

print this article
SEARCH DEVARTICLES

TOOLS YOU CAN USE

advertisement
Client/Server Applications Made Easy - Logical Addressing and Name Resolution
(Page 3 of 4 )

Logical Addressing

To be able to communicate with other computers on a network, a computer needs to be identifiable. Every computer on the network will have its own network adapter that has a unique and permanent physical address. This is what makes each computer identifiable. This address is also used to deliver data to a particular computer. This means that a computer's network adapter has to listen to every single transmission to determine if a particular message is addressed to its physical address.

You can imagine that if you have twenty computers or more, your network will be very slow and inefficient at delivering messages. To reduce network traffic, administrators divide them into smaller networks (called subnets) and then set a hierarchical design so that a message can travel more efficiently to its destination.

TCP/IP provides this subnetting capability through logical addressing. In TCP/IP, a computer's logical address is called an IP address. An IP address is a number used to identify and locate a computer on a network. Now, how is all of this relevant to client/server applications? It's quite straightforward really; for the client application to talk to a server application, it needs to know where the server application is located, and the only way to establish a connection with a server is through its IP address or host name.

Name Resolution

As we have established before, for the network to identify each computer in its domain, the computers will have network adapters that have unique prefabricated physical addresses, and TCP/IP uses IP addresses to identify a computer on a network. Both of these addressing schemes are numerical and somewhat difficult to remember; they're designed for convenience of the computer (which is very good with numbers), rather than for humans.

For the average person it would be difficult to remember a computer's address is 192.168.0.1 or 131.121.134.146. TCP/IP therefore provides a parallel, user- oriented structure called domain names or DNS names. These names are alphanumeric in nature and easier to remember.

This mapping of IP addresses to domain names is called name resolution. A group of computers called name servers store tables showing how to translate these domain names to and from IP addresses. Email and WWW addresses are expressed as DNS names, for example www.google.com or www.myname.com. Name service systems provide domain name/IP address mappings for DNS registered computers on the network. This ensures that you do not have to enter the IP address of a website to access it.

The most common name resolution method used on the Internet is DNS, but there are others such as Windows Internet Name Services or WINS, which resolves Microsoft Windows NetBios names to IP addresses. How does this relate to the client server application? It provides us with another method of identifying the server location and name. Instead of entering the IP address to access the services provided by a server, we can now enter the domain name, which is easy to remember.


blog comments powered by Disqus
DELPHI-KYLIX ARTICLES

- Loading an XML Document into the DOM
- Delphi Wrapper Classes and XML
- Delphi and the DOM
- Delphi and XML
- Internet Access: Client Service
- Finishing the Client for an Internet Access ...
- The Client for an Internet Access Control Ap...
- User Management for an Internet Access Contr...
- Important Procedures for an Internet Access ...
- Server Code for an Internet Access Control A...
- Constructing the Interface for an Internet A...
- Building a Server Application for an Interne...
- Building an Internet Access Control Applicat...
- Client Dataset: Working with Data Packets an...
- Using the Client Dataset in an N-Tiered Appl...

Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 



© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 10 - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials