![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
server/client
Dependencies: mbed NetServicesMin
Diff: tcp_client.h
- Revision:
- 0:432b571e11a3
- Child:
- 1:6e61ee662fd3
diff -r 000000000000 -r 432b571e11a3 tcp_client.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tcp_client.h Sun Feb 19 06:21:50 2012 +0000 @@ -0,0 +1,20 @@ +#ifndef _TCP_CLIENT_ +#define _TCP_CLIENT_ + +#include "EthernetNetIf.h" +#include "TCPSocket.h" + + + +void clientInit(void); +int clientConnect(IpAddr ip , int port); + +void onSendEvent(TCPSocketEvent e); +void connectCheckStart(IpAddr ip , int port); + +int tcpSend(char *data,int length); + +void checkConnect(void); +void socketClose(void); + +#endif \ No newline at end of file