Skip to content
Snippets Groups Projects
Commit 55c2e3a5 authored by Steven Murray's avatar Steven Murray
Browse files

Added the private method VdqmImpl::connectToVdqm()

This version of connectToVdqm() is based on Cgethostbyname().  This is
a temporary implementation.  I would like that it is replaced by code
based around getaddrinfo() which is both standard and thread-safe on
linux and is therefore better than gethostbyname() whose rentrant
cousin gethostbyname_r() is a GNU extension.  According to the BSD
manual pages, the getaddrinfo() function is a replacement for and
provides more flexibility than gethostbyname().

I cannot find any information about the thread safety of getaddrinfo()
on MAC.
parent c6fe729e
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment