![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
server/client
Dependencies: mbed NetServicesMin
Diff: config.h
- Revision:
- 0:432b571e11a3
- Child:
- 1:6e61ee662fd3
diff -r 000000000000 -r 432b571e11a3 config.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/config.h Sun Feb 19 06:21:50 2012 +0000 @@ -0,0 +1,18 @@ +#ifndef _CONFIG_ +#define _CONFIG_ + +#define kSserverIp 192,168,0,111 +#define kSubnetMask 255,255,255,0 +#define kRouterIp 192,168,0,1 +#define kServerPort 12345 + +#define kClientIp 192,168,0,2 +#define kClientPort 12346 + +typedef enum{ + close, + connecting, + connected +} ConnectStatus; + +#endif \ No newline at end of file