Code posted on Codeshare Spider and WiFi that is a bit different

The posted sample is a “Test Of Concept” that demonstrates one way to use the Fez.Spider gadgeteer with Ethernet,WiFi and a WebServer.
The code does nothing but prove (at least to me) that I can read and write to a Web page.

I am not out to deny GHI sales of WiFi modules but I had a NETGEAR WNCE2001 (A WiFi Bridge) laying around and I wanted to ‘see’ if it would work with my Spider. I first started out using a TCP Server and Client but I’m not smart enought to get it working. I could ‘write’ to the Spider but I never could figure out how to ‘read’ a message sent by the Spider. Oh Well… I gave up and started this project.

The Web Page does nothing but return “OK” to HttpWebRequests “CONNECT”, “POST”, “GET”, and “PUT”.
and only one WebServer.SetupWebEvent(“wifi”);

Michael Dodaro (Integral Design) has some code “.NET Gadgeteer Web Service Surveillance Camera” that
shows how to setup Web Events to a Web service.
See:

NOTE: I have only tested this code on my local internet (home)

Maybe someone smarter than I am (Most of you folks) could show me how I can ‘read’ from the Bridge. I was only able
to 'write. messages to the Spider. I could never get a Read event when sending a message from the Spider?

Have a GREAT DAY!

andre.m

Sorry for the delay.
I was trying to ‘Echo’ the message received at the Spider back to the sending application.
I was not receiving the returned message.

“read from the bridge” … I guess I was thinking again and that gets me into trouble all the time…
I guess my way of writing that the bridge is transfering the data and I was trying to ‘read’.

Anyway, I fixed my problem. I deleated my application and started over. That way I
will not make the same mistake modifying the bad code.