Tested with profilab TCP dll and some added error handling