Skip to content

DNS client additions #24

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 7 commits into from
Closed

DNS client additions #24

wants to merge 7 commits into from

Conversation

amcewen
Copy link
Contributor

@amcewen amcewen commented Mar 28, 2011

Adding the ability to Client.connect to strings containing hostnames (or dotted-quad IP addresses) as well as actual IP addresses.

…dPacket and readPacket calls have been removed, and replaced with Stream-derived alternatives which provide more commonality with other communications classes and to allow both buffered and full-packet-at-a-time uses. Also includes the introduction of an IPAddress class to make passing them around easier (and require fewer pointers to be exposed)
…d (rather than byte-based) operations don't require a cast. As requested by Tom Igoe. Part of the fix to issue 439.
…hernetClass which takes just a MAC address and gets the rest of its configuration information via DHCP. Examples updated to use the IPAddress class and some have been changed to get their config via DHCP.
…a slightly modified version of the agreed API as the host/port parameters have been moved from the Client constructor to the Client::connect methods. This means it's possible for errors to be returned if the DNS lookup fails and also reduces the RAM footprint of the Client class as it no longer needs to store the host/port for later use in Client::connect.
@amcewen
Copy link
Contributor Author

amcewen commented Mar 28, 2011

Fixes Issue 243 - http://code.google.com/p/arduino/issues/detail?id=243 Also includes moving the connect parameters from the Client constructor and into Client.connect.

@amcewen amcewen closed this Mar 28, 2011
@amcewen amcewen reopened this Mar 28, 2011
@damellis
Copy link
Contributor

Merged.

@damellis damellis closed this Apr 17, 2011
tbowmo pushed a commit to tbowmo/Arduino that referenced this pull request Jul 14, 2016
Update bootloader and nodejs connector to adjusted message and serial protocol
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants