News  [SoftwareSite

Latest News
Older News
RSS Feed
Complete Projects
Useful Classes
Top Downloads
Message Board
Send Comments
Software License Buttons
Forums -> Security Library Forum
Unhandled Exception: WSAGetOverlappedResult ( OverLappedAsync )  
by Krys [cdemez2 at hotmail dot com]
posted on 2006/02/02


Since a few time, I got this exception:

Unhandled Exception: System.NullReferenceException: Object reference not set to
an instance of an object.
at System.Net.OSSOCK.WSAGetOverlappedResult(IntPtr socketHandle, IntPtr overl
apped, UInt32& bytesTransferred, Boolean wait, IntPtr ignored)
at System.Net.Sockets.OverlappedAsyncResult.CompletionPortCallback(UInt32 err
orCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)

I have search on the Microsoft Web Site, and a lot of other on the internet but find NO solution for this problem using Socket !

It is not a problem linked to "mentalis" sockets, but on normal System.Net.Sockets

This exception do not occur each time, just sometimes ! So, it is why it is so complex to fix... or bypass !

If someone has an idea ?

Thanks for help


Copyright © 2002-2007, The Team. All rights reserved.
This site is located at
Send comments to the webmaster.