server/client

Dependencies:   mbed NetServicesMin

Revision:
1:6e61ee662fd3
Parent:
0:432b571e11a3
--- a/tcp_client.h	Sun Feb 19 06:21:50 2012 +0000
+++ b/tcp_client.h	Thu Feb 23 02:38:05 2012 +0000
@@ -3,7 +3,7 @@
 
 #include "EthernetNetIf.h"
 #include "TCPSocket.h"
-
+#include "data_models.h"
 
 
 void clientInit(void);
@@ -13,6 +13,7 @@
 void connectCheckStart(IpAddr ip , int port);
 
 int tcpSend(char *data,int length);
+int tcpSendPayload(Payload *_payload);
 
 void checkConnect(void);
 void socketClose(void);