UDP Echo Client example
Dependencies: EthernetInterface mbed-rtos mbed
Deprecated
This is an mbed 2 networking example. For mbed OS 5, the networking libraries have been revised to better support additional network stacks and thread safety here.
Diff: main.cpp
- Revision:
- 5:263b6859d55c
- Parent:
- 4:2d454b6fe7ec
- Child:
- 8:ae11db01fb2d
diff -r 2d454b6fe7ec -r 263b6859d55c main.cpp --- a/main.cpp Fri Mar 01 15:57:44 2013 +0000 +++ b/main.cpp Fri Mar 01 15:59:25 2013 +0000 @@ -1,7 +1,7 @@ #include "mbed.h" #include "EthernetInterface.h" -const char* ECHO_SERVER_ADDRESS = "10.2.200.94"; //192.168.0.51 +const char* ECHO_SERVER_ADDRESS = "10.2.200.94"; const int ECHO_SERVER_PORT = 7; int main() {