Ethernet test for tinydtls-0.5.0
Dependencies: EthernetInterface mbed-rtos mbed tinydtls
Fork of tinydtls_test_ethernet by
Diff: main.cpp
- Revision:
- 2:21019cad4c93
- Parent:
- 1:391ec57807fa
- Child:
- 3:0caeed7fd9f0
--- a/main.cpp Thu Oct 10 21:38:25 2013 +0000 +++ b/main.cpp Thu Oct 10 22:07:32 2013 +0000 @@ -264,8 +264,8 @@ int sockfd = NULL; - //if(!connectToSocketUDP("109.74.199.96", 5683, &sockfd)) { - if(!connectToSocketUDP("192.168.1.99", 4433, &sockfd)) { + if(!connectToSocketUDP("109.74.199.96", 4433, &sockfd)) { + //if(!connectToSocketUDP("192.168.1.99", 4433, &sockfd)) { DBG("Error connecting to socket"); fail(1); }