A new object oriented network api that can be used to replace the one provided by the EthernetInterface library.

Dependents:   NetRelais TCP_Client_Example TCP_Server_Example UDP_Server_Example ... more

Object oriented network interface for the mbed platform

Currently implemented:

  • Address
  • Endpoint
  • UDP Socket
  • TCP Socket
  • Databuffer
  • Select API

It depends on the EthernetInterface for the lwip network stack.

Please do not hesitate to contact me with any remarks, improvements or questions.

The API is also available for unix at GitHub: LibNosa

Examples

Files at this revision

API Documentation at this revision

Comitter:
NegativeBlack
Date:
Sat Nov 15 21:35:31 2014 +0000
Parent:
8:cdee0f2b6ff0
Commit message:
Fixed type warnings in address::formString().

Changed in this revision

ip/address.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r cdee0f2b6ff0 -r 7ac7c29fea3d ip/address.cpp
--- a/ip/address.cpp	Thu Sep 27 09:31:40 2012 +0000
+++ b/ip/address.cpp	Sat Nov 15 21:35:31 2014 +0000
@@ -71,7 +71,7 @@
 Address::fromString(const std::string &address)
 {
     // Decode the ASCI string into integer values.
-    int result = std::sscanf(address.c_str(), "%3u.%3u.%3u.%3u",
+    int result = std::sscanf(address.c_str(), "%3hhu.%3hhu.%3hhu.%3hhu",
         &this->_address[0],
         &this->_address[1],
         &this->_address[2],