by Krys [cdemez2 at hotmail dot com] posted on 2006/02/02 |
|
Hi,
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
|