I try to use native WinSock in vb.NET but somehow i got "LoaderLock Was Detected" error. Follow the following step:
Open VS 2005. In the menu bar, go to Debug > Exceptions(Ctrl+Alt+E). You will find an Exception tree. Open 'Managed Debugging Assistants' > Loader Lock. Uncheck it
Open VS 2005. In the menu bar, go to Debug > Exceptions(Ctrl+Alt+E). You will find an Exception tree. Open 'Managed Debugging Assistants' > Loader Lock. Uncheck it
Check this kb article
source: http://social.msdn.microsoft.com