Commit Graph

5 Commits (d36a0b6b88b553d03abfd99836b6529f0e63cad6)

Author SHA1 Message Date
Christopher Haster d84f4be6ed 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-07-21 18:19:21 -05:00
Russ Butler aea45c88ce Fix ipv6 addr in SocketAddress
Correctly set and return the ipv6 address.
2016-07-21 18:19:21 -05:00
Christopher Haster bd8cbf0fcb Move to SocketAddress in gethostbyname 2016-07-21 18:19:21 -05:00
Christopher Haster 3f08f3957c 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-07-21 18:19:20 -05:00
Christopher Haster 4c7992cb24 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-07-21 18:19:10 -05:00