W5200(WIZ820io) network interface
Diff: MyNetUdpSocket.h
- Revision:
- 1:803123933c5a
- Parent:
- 0:61831b843b44
--- a/MyNetUdpSocket.h Sat Apr 14 17:21:11 2012 +0000 +++ b/MyNetUdpSocket.h Tue Apr 17 12:13:15 2012 +0000 @@ -1,11 +1,11 @@ -// MyNetUdpSocket.h 2012/4/14 +// MyNetUdpSocket.h 2012/4/16 #ifndef MYNETUDPSOCKET_H #define MYNETUDPSOCKET_H #include "if/net/netudpsocket.h" class MyNetUdpSocket: public NetUdpSocket { public: - MyNetUdpSocket(); + MyNetUdpSocket(int socket = (-1)); virtual ~MyNetUdpSocket(); virtual NetUdpSocketErr bind(const Host& me); virtual int /*if < 0 : NetUdpSocketErr*/ sendto(const char* buf, int len, Host* pHost);