??? 03/03/08 06:52 Modified: 03/03/08 07:19 Read: times |
#151787 - Client, not Server [edited] Responding to: ???'s previous message |
Michael Karas said:
One way to implement the type of system that Craig has suggested will require that you veer away from the sample APPs that show how to make an embedded web server and instead build a program that has the functions of a rudimentary web site browser type function. Absolutely: Craig's approach requires your embedded device to be a Client - not a Server. See: http://www.8052.com/forum/read.phtml?id=151732 A very good starting point for you to research how to use a sockets layer to access a particular ethernet/internet device would be to study how to do this same type of thing in say VB6 on a PC platform. There is a plethora of information to absorb in this arena and once you learn how that is done you can translate that to a tini implementation on your microcontroller. Yes - here's that Sockets tutorial again: http://www.frostbytes.com/~jimf/pap...nsock.html http://www.frostbytes.com/~jimf/pap...ckets.html Update: If you have Borland C++ Builder v5, it includes a simple "Chat" applications that demonstrates using sockets... Alternatively it may be suitable to implement an SNMP type service. One big advantage of HTTP, as Craig mentioned, is that it will almost certainly be allowed through firewalls. I don't know if the same applies to SNMP? |