Windows DNS SD : add port knocking like other implementations#801
Windows DNS SD : add port knocking like other implementations#801
Conversation
|
create a draft, so I can test the Windows builds. |
7ea9436 to
a0621b6
Compare
a0621b6 to
763a980
Compare
5d2254e to
1c7b07b
Compare
|
with these changes - just downloading and testing on windows now... |
|
just tested the windows VS-2019 build, and it seems to work correctly, and not manifest the issues reported earlier. Thanks |
I think (but am happy to be corrected), as long as |
It is fine to call free(NULL), but this is not what would happen here. After |
Both the Linux and Mac implemations of DNS SD ensures something is there before passing the host information up the stack. The Windows implemnation was missing this, so add it. Add locking since it's needed by those functions. Fix #559 Signed-off-by: Robin Getz <robin.getz@analog.com>
1c7b07b to
d1b0a80
Compare
yeah - sorry - I missed that I had not removed all the -Robin |
|
Note that in your new commit (and actually in libiio master as well), if |
If
and since it is all null, (via zalloc), it should drop down to shouldn't it? |
|
I guess you are right, yes. |
Both the Linux and Mac implemations of DNS SD ensures something is there
before passing the host information up the stack. The Windows
implemnation was missing this, so add it.
Fix #559
Signed-off-by: Robin Getz robin.getz@analog.com