 #include "Cosa/Pins.hh"
 #include "Cosa/Watchdog.hh"
 #include "Cosa/Trace.hh"
+#include "Cosa/INET.hh"
 #include "Cosa/IOStream.hh"
-#include "Cosa/IOBuffer.hh"
 #include "Cosa/IOStream/Driver/UART.hh"
 #include "Cosa/Socket/Driver/W5100.hh"
 


  // Read request and print contents
  sock->gets(buf, sizeof(buf));
  trace << uptime << ':' << nr << ':' << buf << endl;

  // Reply page; header and footer are static, contents dynamic
  static const char header[] PROGMEM = 

  page << PSTR("Memory (byte): ") << free_memory();
  page << PSTR("(") << setup_free_memory << PSTR(")") << BR;
  page << PSTR("Uptime (h:m:s): ") << h << ':' << m << ':' << s << BR;
  page << PSTR("Request(") << nr++ << PSTR("): ") << buf << BR;
  page << PSTR("MAC: "); INET::print_mac(page, addr.mac); page << BR;
  page << PSTR("IP: "); INET::print_addr(page, addr.ip, addr.port); page << BR;
  page << footer;
