> It is very easy to build a managed .NET library that provides > an interface equivalent to that of a particular unmanaged COM object.
Indeed. I realized it wasn't too simple to do exactly what I wanted, so I did the bulk of the work in the DLL wrapper that I wrote, and all the socket stuff in there as well. Had some problems returning the odd union structs that it returned to me, so I just wrote a function to translate that into a more useful array which I can easily itterate through in an unsafe block. Turned out to be a much simpler and easier than I thought it would be. Though it would have been nice to be able to get a socket from the OS Handle. I still don't see why I can't do that. -akshay =================================== This list is hosted by DevelopMentor� http://www.develop.com NEW! ASP.NET courses you may be interested in: 2 Days of ASP.NET, 29 Sept 2003, in Redmond http://www.develop.com/courses/2daspdotnet Guerrilla ASP.NET, 13 Oct 2003, in Boston http://www.develop.com/courses/gaspdotnet View archives and manage your subscription(s) at http://discuss.develop.com
