My fork

Dependencies:   WncControllerK64F

Fork of WNCInterface by Jan Korycan

Revision:
27:2dc9461c04dc
Parent:
26:81e520908460
Child:
28:dceb8da78e6d
--- a/Socket/WncUDPSocket.cpp	Fri Mar 24 21:43:57 2017 +0000
+++ b/Socket/WncUDPSocket.cpp	Fri Mar 24 21:50:50 2017 +0000
@@ -47,7 +47,7 @@
 }
 
 // -1 if unsuccessful, else number of bytes written
-int UDPSocket::sendTo(Endpoint &remote, char *packet, int length) {
+int UDPSocket::sendTo(WncEndpoint &remote, char *packet, int length) {
     int ret = -1;
     
     CHK_WNCFE(( WNCInterface::_pwnc->getWncStatus() == FATAL_FLAG ), fail);
@@ -75,7 +75,7 @@
 }
 
 // -1 if unsuccessful, else number of bytes received
-int UDPSocket::receiveFrom(Endpoint &remote, char *buffer, int length) {
+int UDPSocket::receiveFrom(WncEndpoint &remote, char *buffer, int length) {
     const uint8_t *ptr;
     Timer t;
     int done, ret = -1;