Delphi-Kylix
  Home arrow Delphi-Kylix arrow Page 4 - Client/Server Applications Made Easy
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Dedicated Servers  
Moblin 
JMSL Numerical Library 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
DELPHI-KYLIX

Client/Server Applications Made Easy
By: Leidago
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 3
    2006-12-04

    Table of Contents:
  • Client/Server Applications Made Easy
  • Client and Server Applications
  • Logical Addressing and Name Resolution
  • Error and Flow Control

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Client/Server Applications Made Easy - Error and Flow Control


    (Page 4 of 4 )

    So how does TCP/IP actually make sure that a request made by a client application gets to its destination? Through sequence numbers and acknowledgment messages, TCP ensures that your packet is delivered to the destination computer, and at the same time provides delivery information about the packet to the sending computer. You can view the sequence numbers, acknowledgment messages and packet information by using a packet sniffer, if you are interested in seeing how packets (data) are sent by TCP/IP. Here's a snippet of communication between two computers on a network:

    |Time     | 192.168.0.2       | 192.168.0.1       |

    |0.000    |         PSH, ACK - Len: 740           |Seq = 0 Ack = 0

    |         |(1071)   ------------------>  (2869)   |

    |0.006    |         PSH, ACK - Len: 204           |Seq = 0 Ack = 740

    |         |(1071)   <------------------  (2869)   |

    |0.006    |         PSH, ACK - Len: 958           |Seq = 204 Ack = 740

    |         |(1071)   <------------------  (2869)   |

    |0.006    |         ACK       |                   |Seq = 740 Ack = 1162

    |         |(1071)   ------------------>  (2869)   |

    The above is a conversation between two computers, 192.168 ....1 and 192.168...2

    Messages are sent between the two computers through Ack(nowledge)ments and Seq(uences) of numbers.

    Conclusion

    In the next article we are going to continue discussing TCP/IP. There is only one more part to discuss, which is "Application Support." In that section we will discuss how TCP/IP maps incoming packets to the appropriate server application. We will also look at the text-based intercept of the example shown in this article.


    DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.

       · This article shows you how to built client / server application in Delphi.
     

    DELPHI-KYLIX ARTICLES

    - Building an Internet Access Control Applicat...
    - Client Dataset: Working with Data Packets an...
    - Using the Client Dataset in an N-Tiered Appl...
    - Using the Client Dataset in Two-Tiered Clien...
    - Using the Client Dataset in File-Based Archi...
    - Demystifying the Client Dataset
    - Working with INI Files in Delphi
    - Creating Data Link (UDL) Files in Delphi
    - Looking at the Details for an Invoicing Appl...
    - Invoicing in Delphi: Show Me the Money
    - Saving Images and Binary Files to a Database...
    - Saving Files to a Database using Delphi: Sav...
    - Creating CF Applications and Integrating a S...
    - Using Try and Finally to Help Prevent Memory...
    - The Implementation of an FTP Server







    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway