We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0db22c0 + 18cb7ca commit 26998b7Copy full SHA for 26998b7
src/socket_base.cpp
@@ -842,7 +842,7 @@ int zmq::socket_base_t::connect (const char *addr_)
842
// Following code is quick and dirty check to catch obvious errors,
843
// without trying to be fully accurate.
844
const char *check = address.c_str ();
845
- if (isalnum (*check) || isxdigit (*check) || *check == '[') {
+ if (isalnum (*check) || isxdigit (*check) || *check == '[' || *check == ':') {
846
check++;
847
while (isalnum (*check)
848
|| isxdigit (*check)
0 commit comments