ChipCenter Questlink
SEARCH CHIPCENTER
Search Type:
Search for:




Knowledge Centers
Product Reviews
Data Sheets
Guides & Experts
News
International
Ask Us
Circuit Cellar Online
App Notes
NetSeminars
Careers
Resources
FAQ
EE Times Network
Electronics Group Sites

AN S-7600A/PIC16F877 JOURNEY


Circuit Cellar Online
THE MAGAZINE FOR COMPUTER APPLICATIONS
Circuit Cellar Online offers articles illustrating creative solutions
and unique applications through complete projects, practical
tutorials, and useful design techniques.

AN S-7600A/PIC16F877 JOURNEY

Lessons from the Trenches Part 4: Road Testing
by Fred Eady

Start ý Janis Joplin School of Programming ý Who or What is Perl? ý Setting Up the Server ý Applying What Weýve Learned ý Internet Engine Client Code ý Get on the ýNet ý Sources and PDF

JANIS JOPLIN SCHOOL OF PROGAMMING

Well, the late great Janis used to be known as Pearl (not Perl, but close enough). Having little widgets like the S-7600A/PIC16F877 Internet Engine is nice, but they sometimes need to convey information to others who are a bit larger in stature and more powerful for processing. For instance, assume an Internet Engine is monitoring the number of people who enter a small store in a shopping mall. Each time someone enters, the Internet Engine adds the extra body to the total count. At closing time, the Internet Engine picks up the phone and calls in the total. To be sure that the count was accepted, the Internet Engine waits for an acknowledgement. You already know how to implement on the Internet Engine side, but what about the remote host side? Assuming the remote host is not another S-7600A/PIC16F877 Internet Engine, thatýs where Perl comes in.

Thereýs no doubt that many of you in the audience could whip out a C, VB, or assembler program to fill the server side of this equation. Thatýs nice, but Perl has built-in socket capability to make the job quick and easy. I wonýt be counting bodies in this example, but I will be transferring data to a Perl-equipped Linux host attached to the Internet at 216.53.172.209. You can use the example code I will provide to talk to the very same Linux host via your Internet Engine and the Internet from the comfort of your lab or living room.

PREVIOUSNEXT


Circuit Cellar provides up-to-date information for engineers. Visit www.circuitcellar.com for more information and additional articles.
For subscription information, call (860) 875-2199, subscribe@circuitcellar.com or subscribe online. ýCircuit Cellar, the Magazine for Computer Applications. Posted with permission.
Click here to get your listing up.

Copyright © 2003 ChipCenter-QuestLink
About ChipCenter-Questlink  Contact Us  Privacy Statement   Advertising Information  FAQ