From f297d60e4ac0356e6772457d0df7f4e2bf40ca36 Mon Sep 17 00:00:00 2001 From: Jonathan Bagg Date: Sat, 21 Nov 2015 08:07:47 -0500 Subject: [PATCH] fixup readme --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 932de9d..5a49bd6 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ -QZeroConf is a Qt wrapper class for ZeroConf libraries across various platforms. The Client is used in combination with +QZeroConf is a Qt wrapper class for ZeroConf libraries across various platforms. -* Windows (requires iTunes or [Apple Print Services](https://support.apple.com/kb/DL999) +* Windows (requires iTunes or [Apple Print Services](https://support.apple.com/kb/DL999)) * Mac * Linux * Android @@ -72,14 +72,14 @@ It is recommend, but not required, that you connect a slot to QZeroConf's error( 3. Connect a slot to QZeroConf's serviceAdded() signal. When serviceAdded() is emitted, it passes a pointer to the QZeroConfService recently discovered. -4. Optionally connect a slot to QZeroConf's serviceRemoved() signal to received status when the service is unpublished. ServiceRemoved() passes a pointer to the service being removed. Do not make delayed connections with this signal. +4. Optionally connect a slot to QZeroConf's serviceRemoved() signal to received status when the service is unpublished. ServiceRemoved() passes a pointer to the service being removed. **Do not make delayed connections with ServiceRemoved() signal.** 5. Call startBrowser() with the type of the service to browse for and optionally the protocol to use. ```c++ startBrowser("_test._tcp"); ``` -If you are browsing for services published using both ipv4 and ipv6 ( QabstractSocket::AnyIPProtocol) you should also connect a slot to QzeroConf's serviceUpdated() signal. When the IP address of the first protocol is resolved, serviceAdded() is emitted, when the IP address of the second protocol is resolved, serviceUpdated() is emitted. +If you are browsing for services published using both ipv4 and ipv6 ( QAbstractSocket::AnyIPProtocol) you should also connect a slot to QzeroConf's serviceUpdated() signal. When the IP address of the first protocol is resolved, serviceAdded() is emitted, when the IP address of the second protocol is resolved, serviceUpdated() is emitted. Only one browser can be in use per instance of QzeroConf.