WIZ820io(W5200) network interface, EthernetInterface compatible.
Dependents: Seeed_Ethernet_Shield_V2_HelloWorld Seeed_Ethernet_Shield Cayenne-WIZ820ioInterface Seeed_Ethernet_Shield
Fork of WiflyInterface by
Diff: Socket/UDPSocket.h
- Revision:
- 5:fb15c35d1e28
- Parent:
- 1:fb4494783863
--- a/Socket/UDPSocket.h Thu Dec 20 15:08:58 2012 +0000 +++ b/Socket/UDPSocket.h Tue Aug 27 12:50:11 2013 +0000 @@ -22,8 +22,6 @@ #include "Endpoint.h" #include "Socket.h" -#include <cstdint> - /** UDP Socket */ @@ -63,13 +61,8 @@ int receiveFrom(Endpoint &remote, char *buffer, int length); private: - bool confEndpoint(Endpoint & ep); - bool readEndpoint(Endpoint & ep); - bool endpoint_configured; - bool endpoint_read; - + void confEndpoint(Endpoint & ep); + void readEndpoint(Endpoint & ep, uint8_t info[]); }; -#include "def.h" - #endif