W5200(WIZ820io) network interface
w5200NetIf.h
- Committer:
- va009039
- Date:
- 2012-04-14
- Revision:
- 0:61831b843b44
- Child:
- 1:803123933c5a
File content as of revision 0:61831b843b44:
// w5200NetIf.h 2012/4/13 #ifndef W5200_NETIF_H #define W5200_NETIF_H #include "MyNetIf.h" class w5200NetIf : public MyNetIf { public: w5200NetIf(); w5200NetIf(IpAddr ip, IpAddr netmask, IpAddr gateway, IpAddr dns); int IPrenew(int timeout_ms = 15000); int IPrelease(int timeout_ms = 15000); int setup(int timeout_ms = 15000); private: bool m_useDhcp; IpAddr m_netmask; IpAddr m_gateway; IpAddr m_dns; const char* m_hostname; }; #endif //W5200_NETIF_H