Russ Butler
64cd1f3dfb
Fix SocketAddress constructor to support ipv6
...
Fix typo causing ipv6 addresses in the constructor to fail.
2016-05-17 08:24:10 -05:00
Christopher Haster
7d9b5e6f76
Small bug fixes
...
mirrored from:
https://developer.mbed.org/teams/NetworkSocketAPI/code/NetworkSocketAPI/
- Fix bug with SocketAddress init per @c1728p9
- Fix issue with not passing interface through accept call
- Fix port issue in SocketAddress constructor
2016-05-13 11:41:17 -05:00
Christopher Haster
893dfec7e6
Added workaround for bug in newlib sscanf
...
https://bugs.launchpad.net/gcc-arm-embedded/+bug/1399224
2016-05-13 11:41:10 -05:00
Christopher Haster
16929af278
Rename Interface -> Stack
...
NetworkInterface -> NetworkStack
EthernetInterface -> EthernetStack
WiFiInterface -> WiFiStack
CellularInterface -> CellularStack
MeshInterface -> MeshStack
2016-05-13 11:41:07 -05:00
Christopher Haster
e762b04f64
Added support for shortened form ipv6 addresses
...
supported:
1.2.3.4
1:2:3:4:5:6:7:8
1:2::7:8
::
currently not supported:
1:2:3:4:5:6:1.2.3.4
2016-05-13 11:41:01 -05:00
Russ Butler
fa45131245
Fix ipv6 addr in SocketAddress
...
Correctly set and return the ipv6 address.
2016-05-13 11:40:58 -05:00
Christopher Haster
d488f02f5e
Move to SocketAddress in gethostbyname
2016-05-13 11:40:55 -05:00
Christopher Haster
62bb777c1f
Added support for storing bytes directly in SocketAddress
...
Bytes are stored by default, however enough space is allocated in
a SocketAddress to generate the string representation if necessary.
Currently there is no support for shortened addresses
2016-05-13 11:40:54 -05:00
Christopher Haster
03475f35bb
Matched changes NetworkSocketAPI
...
Responded to feedback from mbed-client implementation
to introduce a full feature set that should support most
of the use cases for the API.
2016-04-06 08:50:56 -05:00