Ryo Iizuka / libMiMic

Dependents:   MbedFileServer_1768MiniDK2 RedWireBridge IssueDebug_gcc MiMicRemoteMCU-for-Mbed ... more

Revision:
57:bc4330dfa62f
Parent:
37:fc4b4fd6a649
--- a/core/uip/NyLPC_cBaseSocket.c	Sat Aug 10 02:52:22 2013 +0000
+++ b/core/uip/NyLPC_cBaseSocket.c	Fri Sep 13 06:38:16 2013 +0000
@@ -0,0 +1,9 @@
+#include "NyLPC_cBaseSocket.h"
+#include "NyLPC_cUipService_protected.h"
+
+void NyLPC_cBaseSocket_initialize(NyLPC_TcBaseSocket_t* i_inst,NyLPC_TUInt8 i_typeid)
+{
+    NyLPC_TcUipService_t* srv=_NyLPC_TcUipService_inst;
+    i_inst->_typeid=i_typeid;
+    i_inst->_parent_ipv4=&(srv->_tcpv4);
+}