Book Image

Mastering Dart

By : Sergey Akopkokhyants
Book Image

Mastering Dart

By: Sergey Akopkokhyants

Overview of this book

Table of Contents (19 chapters)
Mastering Dart
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Communication at a glance


Some of us can't imagine the modern world without the Internet, cell phones, or computers. Each device connected to the Internet can either be a client, a server, or both of these simultaneously. Communication between a client and a server is the basis of modern digital world. Communication based on a system of special rules and format of messages is known as a communication protocol that enables data exchange between clients and servers.

The Internet protocol stack

Any device connected to the Internet has an Internet Protocol (IP) address. An IP address can be permanent or temporary when it is obtained from the Dynamic Host Configuration Protocol (DHCP) server. In any case, any device that is connected to the Internet has a unique IP address. Many programs working in scope of a single unique IP address use different port numbers to have access to the Internet simultaneously. A message transmitted from one device to another over the Internet is delivered through...