ap
Dependencies: DnsQuery
Dependents: WizFi310_TCP_Echo_Server_Example
Fork of NetworkSocketAPI by
Diff: UDPSocket.h
- Revision:
- 105:2fd212f8da61
- Parent:
- 104:d28d8b508e7c
- Child:
- 109:5d8bd5752386
--- a/UDPSocket.h Tue Apr 19 18:26:21 2016 -0500 +++ b/UDPSocket.h Tue Apr 19 18:26:36 2016 -0500 @@ -18,7 +18,7 @@ #define UDPSOCKET_H #include "Socket.h" -#include "NetworkInterface.h" +#include "NetworkStack.h" /** UDP socket */ @@ -36,7 +36,7 @@ * * @param iface Network stack as target for socket */ - UDPSocket(NetworkInterface *iface); + UDPSocket(NetworkStack *iface); /** Opens a socket * @@ -46,7 +46,7 @@ * @param iface Network stack as target for socket * @return 0 on success, negative error code on failure */ - virtual int open(NetworkInterface *iface); + virtual int open(NetworkStack *iface); /** Send a packet over a UDP socket *