-
- Downloads
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.
Showing
- castor/io/io.hpp 2 additions, 2 deletionscastor/io/io.hpp
- castor/tape/tapeserver/daemon/DummyVdqm.cpp 2 additions, 2 deletionscastor/tape/tapeserver/daemon/DummyVdqm.cpp
- castor/tape/tapeserver/daemon/DummyVdqm.hpp 2 additions, 4 deletionscastor/tape/tapeserver/daemon/DummyVdqm.hpp
- castor/tape/tapeserver/daemon/TapeDaemonMain.cpp 4 additions, 1 deletioncastor/tape/tapeserver/daemon/TapeDaemonMain.cpp
- castor/tape/tapeserver/daemon/Vdqm.hpp 2 additions, 4 deletionscastor/tape/tapeserver/daemon/Vdqm.hpp
- castor/tape/tapeserver/daemon/VdqmConnectionHandler.cpp 1 addition, 2 deletionscastor/tape/tapeserver/daemon/VdqmConnectionHandler.cpp
- castor/tape/tapeserver/daemon/VdqmImpl.cpp 78 additions, 15 deletionscastor/tape/tapeserver/daemon/VdqmImpl.cpp
- castor/tape/tapeserver/daemon/VdqmImpl.hpp 40 additions, 13 deletionscastor/tape/tapeserver/daemon/VdqmImpl.hpp
Loading
Please register or sign in to comment