The developer's resource for computer interfacing, especially USB, serial (COM) ports, mass storage, and embedded networking. (Formerly Lvr.com)

Home > Embedded Ethernet and Internet Complete > Table of Contents

Embedded Ethernet and Internet Complete

Table of Contents

Introduction

1. Networking Basics

Quick Start: The Elements of a Network

Components
Modular Design
The Network Protocol Stack
Clients and Servers
Requirements for Internet Communications
A Word about Web Servers

In Depth: Inside Ethernet

Advantages
Limits
Using a PC for Network Communications
The IEEE 802.3 Standard
Frames
Media Access Control: Deciding When to Transmit
Physical Addresses
Using a Protocol Analyzer to View Ethernet Traffic

2. Building a Network: Hardware Options

Quick Start: Connecting to a PC

Components and Configurations
Other Options

In Depth: Cables, Connections and Network Speed

Cable Types for Different Uses
Twisted Pair Cable
Fiber Optic Cable
Coaxial Cable
Connections for Harsh Environments
Supplying Power
Going Wireless
Media Systems
Interfacing to Ethernet Controllers
Using Repeater Hubs, Ethernet Switches, and Routers

3. Design Choices

Quick Start: Selecting Components

Complete Solutions
Special-Purpose Modules

In Depth: Ethernet Controllers

What the Hardware Does
Ethernet Controller Basics
The ASIX AX88796
Realtek RTL8019AS
SMSC LAN91C96
Cirrus Logic CS8900A

4. Using the Internet Protocol in Local and Internet Communications

Quick Start: Connecting to the Internet

Considerations in Obtaining Internet Service
Technologies for Connecting
Static and Dynamic IP Addresses
Connecting Multiple Computers to the Internet
Communicating through a Firewall
Obtaining and Using a Domain Name

In Depth: Inside the Internet Protocol

What IP Does
IP Addresses
The IP Header
Assigning an IP Address to a Host
Matching an IP Address to an Ethernet Interface
How a Datagram Finds Its Way to Its Destination
The Internet Control Message Protocol (ICMP)

5. Exchanging Messages Using UDP and TCP

Quick Start: Basic Communications

Configuring a Device for Network Communications
Sending UDP Datagrams
Receiving UDP Datagrams
Exchanging Messages using TCP
UDP and TCP from PC Applications

In Depth: Inside UDP and TCP

About Sockets and Ports
UDP: Just the Basics
TCP: Adding Handshaking and Flow Control

6. Serving Web Pages with Dynamic Data

Quick Start: Two Approaches

Serving a Page with Dynamic Data
Rabbit Real-time Web Page
TINI Real-time Web Page

In Depth: Protocols for Serving Web Pages

Using the Hypertext Transfer Protocol
HTTP Versions
Elements of an HTTP Message
Inside the Hypertext Markup Language
Server Side Include Directives

7. Serving Web Pages that Respond to User Input

Quick Start: Device Controller

The Device Controller’s Web Page
Rabbit Device Controller
TINI Device Controller

In Depth: Using CGI and Servlets

CGI for Embedded Systems
Servlets for Embedded Systems
Receiving Form Data

8. E-mail for Embedded Systems

Quick Start: Sending and Receiving Messages

Sending an E-mail from a Rabbit
Sending an E-mail from a TINI
Receiving E-mail on a Rabbit
Receiving E-mail on a TINI

In Depth: E-mail Protocols

How E-mail Works
Using the Simple Mail Transfer Protocol
Sending E-mail with a URL
Using the Post Office Protocol

9. Using the File Transfer Protocol

Quick Start: FTP Clients and Servers

Rabbit FTP Client
TINI FTP Client
Rabbit FTP Server
TINI FTP Server

In Depth: Inside the File Transfer Protocol

Requirements
Transferring a File
Commands
Requesting a File with a URL

10. Keeping Your Devices and Network Secure

Quick Start: Limiting Access with Passwords

Using Basic Authentication
Basic Authentication on the Rabbit
Basic Authentication on the TINI

In Depth: Four Rules for Securing Your Devices and Local Network

Use a Firewall
Restrict Access with User Names and Passwords
Validate User Data
Encrypt Private Data

Index