Base class for IP Based Networking Libraries
Dependencies: DnsQuery
Dependents: TempTower BSDInterfaceTests HelloBSDInterface ESP8266InterfaceTests ... more
For a complete getting started guide see the wiki...
Network Socket API
The Network Socket API provides a common interface for using sockets on network devices. The API provides a simple class-based interface that should be familiar to users experienced with other socket APIs. Additionally, the API provides a simple interface for implementing network devices, making it easy to connect hardware agnostic programs to new devices.
Network Interfaces
The NetworkInterface provides an abstract class for network devices that support sockets. Devices should provide a DeviceInterface class that inherits this interface and adds implementation specific methods for using the device. A NetworkInterface must be provided to a Socket constructor to open a socket on the interface. Currently two subclasses are defined for common devices, EthernetInterface
and WiFiInterface.
Sockets
The Socket class is used for managing network sockets. Once opened, the socket provides a pipe through which data can sent and recieved to a specific endpoint. The socket class can be instantiated as either a TCPSocket
or a UDPSocket
which defines the protocol used for the connection.
Revisions of SocketAddress.cpp
Revision | Date | Message | Actions |
---|---|---|---|
120:6eb542426f15 | 2016-05-09 | Fix port issue in SocketAddress constructor | File Diff Annotate |
111:df01ca3e89b3 | 2016-04-20 | Add workaround for bug in newlib scanf | File Diff Annotate |
105:2fd212f8da61 | 2016-04-19 | Rename Interface -> Stack | File Diff Annotate |
100:90d8f662de83 | 2016-04-19 | Added support for shortened form ipv6 addresses | File Diff Annotate |
97:68232387bc75 | 2016-04-19 | Fix ipv6 addr in SocketAddress | File Diff Annotate |
95:b3c679f20d13 | 2016-04-19 | Move to SocketAddress in gethostbyname | File Diff Annotate |
94:644df37bb05b | 2016-04-19 | Added support for storing bytes directly in SocketAddress | File Diff Annotate |
89:b1d417383c0d | 2016-04-19 | Adopt mbed style doxygen comments | File Diff Annotate |
86:7ca9776b9cc0 | 2016-04-05 | Updated dependencies | File Diff Annotate |
80:9c6673c93082 | 2016-04-05 | Added support for DNS resolution | File Diff Annotate |
79:43a7e8c0d6cc | 2016-04-05 | Added rough implementation of the API shim | File Diff Annotate |