Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: EthernetNetIf SimpleSocket 1.0 mbed
main.cpp
- Committer:
- yamaguch
- Date:
- 2011-08-17
- Revision:
- 7:d57efbdb6517
- Parent:
- 6:8c44fe7acb82
- Child:
- 8:b35559c14d17
File content as of revision 7:d57efbdb6517:
#include "mbed.h"
#include "EthernetNetIf.h"
#include "SimpleSocket.h"
void echoserver();
void httpclient(const char *url);
int main() {
EthernetNetIf eth;
EthernetErr ethErr = eth.setup();
if (ethErr) error("Error %d in setup.\n", ethErr);
//echoserver();
httpclient("http://www.iana.org/domains/example/");
}