Problem: cannot use wildcard port with source address

Solution: fix TCP endpoint parsing to allow
tcp://127.0.0.1:*;127.0.0.1:1000
This commit is contained in:
Luca Boccassi 2017-05-01 01:42:16 +01:00
parent 06666d8c4a
commit ae461dc2a9

View File

@ -853,6 +853,7 @@ int zmq::socket_base_t::connect (const char *addr_)
|| isxdigit (*check)
|| *check == '.' || *check == '-' || *check == ':' || *check == '%'
|| *check == ';' || *check == '[' || *check == ']' || *check == '_'
|| *check == '*'
) {
check++;
}