ap

Dependencies:   DnsQuery

Dependents:   WizFi310_TCP_Echo_Server_Example

Fork of NetworkSocketAPI by NetworkSocketAPI

Revision:
79:43a7e8c0d6cc
Parent:
78:0914f9b9b24b
Child:
80:9c6673c93082
--- a/UDPSocket.h	Tue Apr 05 09:20:32 2016 -0500
+++ b/UDPSocket.h	Tue Apr 05 10:40:34 2016 -0500
@@ -34,7 +34,7 @@
     \param port The port to listen for incoming connections on
     \return 0 on success, negative on failure.
     */
-    int bind(int port);
+    int bind(uint16_t port);
 
     /** Send a packet to a remote endpoint
     \param address  The remote SocketAddress
@@ -58,13 +58,13 @@
     \param callback Function to call when send will succeed, may be called in
                     interrupt context.
     */
-    void attach_send(FuncPtr<void()> callback);
+    void attach_send(mbed::FuncPtr<void()> callback);
 
     /** Register a callback on when recv is ready
     \param callback Function to call when recv will succeed, may be called in
                     interrupt context.
     */
-    void attach_recv(FuncPtr<void()> callback);
+    void attach_recv(mbed::FuncPtr<void()> callback);
 };
 
 #endif