Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of DnsQuery by
Diff: DnsQuery.cpp
- Branch:
- api-changes
- Revision:
- 6:5b28cbc8169c
- Parent:
- 5:d85c1a7e0e9f
- Child:
- 7:cbe1ef566314
diff -r d85c1a7e0e9f -r 5b28cbc8169c DnsQuery.cpp
--- a/DnsQuery.cpp Mon Feb 22 19:38:10 2016 -0600
+++ b/DnsQuery.cpp Mon Feb 22 19:58:10 2016 -0600
@@ -112,9 +112,7 @@
// Ready to send to DNS
- socket->setIPAddress(_dnsip);
- socket->setPort(53);
- socket->open();
+ socket->open(_dnsip, 53);
INFO("Sending packet of length %d",packetlen);
/*
