If you don't/can't use C then I would ask what you goal here is.. as in, what do you want the program to do by hooking the winsock? Have you tried looking at 'makemeservice'? This will allow you to 'hook' the dll keep running your code in the background and make the app appear to be unloaded or hidden. Anything kinkier than this and you'll need to probably use *cough* C++
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET. subscribe