I have a current working dll that I need to add TCP/IP socket functionality in. I know to use MSWinSock.dll but how do I reference it? It's not referenceable. DECLARE?

The TCP/IP fucntionality would be like a Client. I have the code I need to run in a test project but I was using the WinSock control and dumping into my dll was more difficult then I thought.

I need to send a message to a server and wait for a response.

Damn, It sounds so simple... any help would be appreciated.

Shadow