NetworkSocketAPI

Dependencies:   DnsQuery

Dependents:   HelloWizFi250Interface

Fork of NetworkSocketAPI by NetworkSocketAPI

Files at this revision

API Documentation at this revision

Comitter:
geky
Date:
Tue Apr 05 19:21:41 2016 +0000
Parent:
83:1939323f99de
Child:
85:ef377dec76b3
Commit message:
Added thunk for Socket class

Changed in this revision

Socket.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/Socket.cpp	Tue Apr 05 19:05:37 2016 +0000
+++ b/Socket.cpp	Tue Apr 05 19:21:41 2016 +0000
@@ -73,3 +73,8 @@
     return err;
 }
 
+void Socket::thunk(void *p) 
+{
+    mbed::FuncPtr<void()> *fptr = (mbed::FuncPtr<void()> *)p;
+    (*fptr)();
+}