Is it possible to create the TCP Connection inside of your DLL?
Ideally, you want to only input configuration values, and not move references and handles in and out of DLLs.
Also, be sure you are using the correct method for the cluster. I have limited experience passing clusters.
Try taking out the TCP/IP handle first.