SNICInterface for ThingPlug Example
Dependents: ThingPlug_WiFi_Example ThingPlug_WiFi_Example_2
Fork of SNICInterface by
Diff: Socket/TCPSocketConnection.cpp
- Revision:
- 30:944b8c04b5ff
- Parent:
- 29:6a0ba999597d
- Child:
- 32:ae95309643aa
diff -r 6a0ba999597d -r 944b8c04b5ff Socket/TCPSocketConnection.cpp --- a/Socket/TCPSocketConnection.cpp Mon May 26 05:17:28 2014 +0000 +++ b/Socket/TCPSocketConnection.cpp Tue May 27 01:33:04 2014 +0000 @@ -54,7 +54,7 @@ printf("socket created : %d\r\n", mSocketID); int ip_addr = resolveHostName( host_p ); - lcd_printf("connect to [%s](%08x)\r\n", host_p, ip_addr); + //lcd_printf("connect to [%s](%08x)\r\n", host_p, ip_addr); if( ( ip_addr == 0) || (ip_addr == -1) ) { printf("connect resolveHostName failed\r\n"); @@ -65,7 +65,7 @@ tagMEMPOOL_BLOCK_T *payload_buf = snic_core_p->allocCmdBuf(); if( payload_buf == NULL ) { - lcd_printf("connect payload_buf NULL\r\n"); + printf("connect payload_buf NULL\r\n"); return -1; }