diff --git a/pvAccessApp/remoteClient/clientContextImpl.cpp b/pvAccessApp/remoteClient/clientContextImpl.cpp index 4f799b1..3aa64b2 100644 --- a/pvAccessApp/remoteClient/clientContextImpl.cpp +++ b/pvAccessApp/remoteClient/clientContextImpl.cpp @@ -3729,6 +3729,7 @@ TODO void internalInitialize() { + osiSockAttach(); m_timer.reset(new Timer("pvAccess-client timer", lowPriority)); Context::shared_pointer thisPointer = shared_from_this(); m_connector.reset(new BlockingTCPConnector(thisPointer, m_receiveBufferSize, m_beaconPeriod)); diff --git a/pvAccessApp/server/serverContext.cpp b/pvAccessApp/server/serverContext.cpp index e65e6f3..9340830 100644 --- a/pvAccessApp/server/serverContext.cpp +++ b/pvAccessApp/server/serverContext.cpp @@ -173,6 +173,7 @@ std::auto_ptr ServerContextImpl::createResponseHandler() void ServerContextImpl::internalInitialize() { + osiSockAttach(); _timer.reset(new Timer("pvAccess-server timer",lowerPriority)); _transportRegistry.reset(new TransportRegistry()); diff --git a/testApp/utils/inetAddressUtilsTest.cpp b/testApp/utils/inetAddressUtilsTest.cpp index bd16903..84bf923 100644 --- a/testApp/utils/inetAddressUtilsTest.cpp +++ b/testApp/utils/inetAddressUtilsTest.cpp @@ -22,6 +22,7 @@ using namespace epics::pvAccess; using namespace std; int main(int argc, char *argv[]) { + osiSockAttach(); createFileLogger("inetAddresUtils.log"); InetAddrVector *vec;