I'm still struggling to make a small demo (it's definitely a timing thing
and it appears most readily on a dual-processor machine running server
GC), but the current version of the program works when we send using the
following line of code:

return m_socket.Send(buffer, offset, size, socketFlags);

and fails with the replacement:

return m_socket.EndSend(m_socket.BeginSend(buffer, offset, size,
socketFlags, null, null));

In this case we lose a thread as well as a pinned handle every time it
occurs. This has to be a framework bug.

===================================
This list is hosted by DevelopMentor�  http://www.develop.com
Some .NET courses you may be interested in:


>>> Error in line 15 of ADVANCED-DOTNET.MAILTPL: unknown formatting command <<<
 -> .NET Architecture and Design: Designing Distributed Applications with <-

Reply via email to