Revert "fixed wrong error message in dcmnet with win32."

This reverts commit 108e5f0059328a0d4ab8b1106163380f3b0eccd3.
bug - not working on non-win32 platform
fixed wrong error message in dcmnet with win32.