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.

Files at this revision

API Documentation at this revision

Comitter:
mbed_official
Date:
Tue Feb 14 16:57:14 2017 +0000
Parent:
8:ae11db01fb2d
Commit message:
More verbose example. Update libraries.;

Changed in this revision

EthernetInterface.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed-rtos.lib Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
diff -r ae11db01fb2d -r 4f1a786624de EthernetInterface.lib
--- a/EthernetInterface.lib	Tue May 05 20:08:56 2015 +0000
+++ b/EthernetInterface.lib	Tue Feb 14 16:57:14 2017 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/EthernetInterface/#097a9996f8d5
+http://mbed.org/users/mbed_official/code/EthernetInterface/#183490eb1b4a
diff -r ae11db01fb2d -r 4f1a786624de main.cpp
--- a/main.cpp	Tue May 05 20:08:56 2015 +0000
+++ b/main.cpp	Tue Feb 14 16:57:14 2017 +0000
@@ -1,9 +1,9 @@
 #include "mbed.h"
 #include "EthernetInterface.h"
-
+ 
 const char* ECHO_SERVER_ADDRESS = "192.168.2.2";
 const int ECHO_SERVER_PORT = 7;
-
+ 
 int main() {
     EthernetInterface eth;
     eth.init(); //Use DHCP
diff -r ae11db01fb2d -r 4f1a786624de mbed-rtos.lib
--- a/mbed-rtos.lib	Tue May 05 20:08:56 2015 +0000
+++ b/mbed-rtos.lib	Tue Feb 14 16:57:14 2017 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/mbed-rtos/#5dfe422a963d
+http://mbed.org/users/mbed_official/code/mbed-rtos/#58563e6cba1e
diff -r ae11db01fb2d -r 4f1a786624de mbed.bld
--- a/mbed.bld	Tue May 05 20:08:56 2015 +0000
+++ b/mbed.bld	Tue Feb 14 16:57:14 2017 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/mbed/builds/8a40adfe8776
\ No newline at end of file
+http://mbed.org/users/mbed_official/code/mbed/builds/ef9c61f8c49f
\ No newline at end of file