summaryrefslogtreecommitdiffstats
path: root/raul
diff options
context:
space:
mode:
Diffstat (limited to 'raul')
-rw-r--r--raul/Socket.hpp4
-rw-r--r--raul/URI.hpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/raul/Socket.hpp b/raul/Socket.hpp
index 84c40af..e4fca86 100644
--- a/raul/Socket.hpp
+++ b/raul/Socket.hpp
@@ -56,8 +56,8 @@ public:
~Socket();
/** Bind a server socket to an address.
- * @param uri Address URI, e.g. unix:///tmp/foo, tcp://somehost:1234, or
- * tcp://*:1234 to listen on all interfaces.
+ * @param uri Address URI, e.g. unix:///tmp/foo, or tcp://hostname:1234.
+ * Use "*" as hostname to listen on all interfaces.
* @return True on success.
*/
bool bind(const Raul::URI& uri);
diff --git a/raul/URI.hpp b/raul/URI.hpp
index d53856d..af33ddc 100644
--- a/raul/URI.hpp
+++ b/raul/URI.hpp
@@ -84,7 +84,7 @@ public:
/** Return true iff `str` is a valid URI.
*
- * Currently this only checks that `starts` with a valid URI scheme.
+ * Currently this only checks that `str` starts with a valid URI scheme.
*/
static inline bool is_valid(const std::basic_string<char>& str) {
if (!is_valid_start_char(str[0])) {