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 Central > Embedded Ethernet and Internet Code

Code Examples from
Embedded Ethernet and Internet Complete

Jan Axelson

The Files

The applications are in these zip files:

RabbitCore examples

TINI examples

Visual Basic .NET applications for Visual Studio 2003

Visual Basic .NET applications for Visual Studio 2002

(The Visual Studio 2003 projects have no more than one class per file to avoid this VS 2003 error when attempting to edit the form: "The class NotTheFirstClass can be designed, but is not the first class in the file. Visual Studio requires that designers use the first class in the file. Move the class code so that it is the first class in the file and try loading the designer again.")

The Applications

For each application, there is Dynamic C code written for Digi International (Rabbit Semiconductor)'s RabbitCore RCM3200 module and Java code written for Maxim Integrated (Dallas Semiconductor)'s DSTinis400 module.

The TCP and UDP applications also include a VB.NET application for communicating with the modules.

These are the applications:

UDP Send. Sends data using UDP. Plus a VB.NET application that receives data from the modules.

UDP Receive. Receives data using UDP. Plus a VB.NET application that sends data to the modules.

TCP Server. Sends and receives data using TCP. Plus a VB.NET TCP client application for communicating with the modules.

Real Time Web Page. Serves a Web page that displays real-time data.

Device Controller. Serves a Web page that displays buttons and LEDs. Users can click a button to change the state of an LED on the module and the Web page. (The TINI application is a servlet.)

Form Response. Serves a Web page containing a form that enables users to provide data for use by the module. (The TINI application is a servlet.)

Send E-mail. Sends an E-mail message.

Receive E-mail. Receives E-mail messages.

FTP Client Send. Sends a file to an FTP server.

FTP Client Receive. Requests a file from an FTP server. (Includes two TINI examples, using FTPClient and the FTP URL scheme.).

FTP Server. Enables clients to send files to the module and request files from the module. (Rabbit only; the TINI software includes an FTP server.)

Basic Authentication. Requires a user name and password before serving a Web page. (The TINI application is a servlet.)