SNICInterface for ThingPlug Example
Dependents: ThingPlug_WiFi_Example ThingPlug_WiFi_Example_2
Fork of SNICInterface by
Diff: Socket/Socket.cpp
- Revision:
- 15:5eb637414df2
- Parent:
- 14:54378c96d285
- Child:
- 16:6100acfeb1f1
diff -r 54378c96d285 -r 5eb637414df2 Socket/Socket.cpp --- a/Socket/Socket.cpp Wed Mar 26 04:38:12 2014 +0000 +++ b/Socket/Socket.cpp Thu Mar 27 05:12:22 2014 +0000 @@ -66,7 +66,7 @@ int Socket::createSocket( unsigned char bind, unsigned int local_addr, unsigned short port ) { // Get buffer for response payload from MemoryPool - tagMEMPOOL_BLOCK_T *payload_buf = mSnicWifi_p->getAlocCmdBuf(); + tagMEMPOOL_BLOCK_T *payload_buf = mSnicWifi_p->allocCmdBuf(); if( payload_buf == NULL ) { printf("createSocket payload_buf NULL\r\n");