W5200(WIZ820io) network interface
Diff: mymain.cpp
- Revision:
- 0:61831b843b44
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mymain.cpp Sat Apr 14 17:21:11 2012 +0000 @@ -0,0 +1,13 @@ +#include "mbed.h" +#include "WIZ820ioNetIf.h" +#include "TinyHTTP.h" +#include <host.h> + +int main() { + WIZ820ioNetIf eth; + eth.setup(); + Host host; + host.setName("www.wiznet.co.kr"); + int status = httpRequest(METHOD_GET, &host, "/", NULL, NULL); + printf("status: %d\n", status); +}