server/client
Dependencies: mbed NetServicesMin
config.h@0:432b571e11a3, 2012-02-19 (annotated)
- Committer:
- recotana
- Date:
- Sun Feb 19 06:21:50 2012 +0000
- Revision:
- 0:432b571e11a3
- Child:
- 1:6e61ee662fd3
ver0.1
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
recotana | 0:432b571e11a3 | 1 | #ifndef _CONFIG_ |
recotana | 0:432b571e11a3 | 2 | #define _CONFIG_ |
recotana | 0:432b571e11a3 | 3 | |
recotana | 0:432b571e11a3 | 4 | #define kSserverIp 192,168,0,111 |
recotana | 0:432b571e11a3 | 5 | #define kSubnetMask 255,255,255,0 |
recotana | 0:432b571e11a3 | 6 | #define kRouterIp 192,168,0,1 |
recotana | 0:432b571e11a3 | 7 | #define kServerPort 12345 |
recotana | 0:432b571e11a3 | 8 | |
recotana | 0:432b571e11a3 | 9 | #define kClientIp 192,168,0,2 |
recotana | 0:432b571e11a3 | 10 | #define kClientPort 12346 |
recotana | 0:432b571e11a3 | 11 | |
recotana | 0:432b571e11a3 | 12 | typedef enum{ |
recotana | 0:432b571e11a3 | 13 | close, |
recotana | 0:432b571e11a3 | 14 | connecting, |
recotana | 0:432b571e11a3 | 15 | connected |
recotana | 0:432b571e11a3 | 16 | } ConnectStatus; |
recotana | 0:432b571e11a3 | 17 | |
recotana | 0:432b571e11a3 | 18 | #endif |