all groups > dotnet performance > september 2007 >
You're in the

dotnet performance

group:

Socket Overlapped I/O ..


Socket Overlapped I/O .. Rollo
9/5/2007 6:18:00 AM
dotnet performance:
Hi:

I understand from all the theory that overlapped i/o is good. However, I
have not found any good resource for what it means to take advantage of it
from System.Net.Sockets.

I am writing an asynchronous tcp client using System.Nets.Sockets.

Do all I have to do to take advantage of the WinSock 2 level overlapped I/O
is set UseOnlyOverlappedIO to true on every instance of the socket class that
I create?

Re: Socket Overlapped I/O .. Vadym Stetsiak
9/6/2007 12:00:00 AM
Hello, Rollo!

Here are good resources on async sockets performance and scalability

http://msdn.microsoft.com/msdnmag/issues/05/08/HighPerformanceSockets/default.aspx

http://www.coversant.net/Coversant/Blogs/tabid/88/EntryID/10/Default.aspx

--
With best regards, Vadym Stetsiak.
Blog: http://vadmyst.blogspot.com


You wrote on Wed, 5 Sep 2007 06:18:00 -0700:

R> Hi:

R> I understand from all the theory that overlapped i/o is good.
R> However, I have not found any good resource for what it means to
R> take advantage of it from System.Net.Sockets.

R> I am writing an asynchronous tcp client using System.Nets.Sockets.

R> Do all I have to do to take advantage of the WinSock 2 level
R> overlapped I/O is set UseOnlyOverlappedIO to true on every instance
R> of the socket class that
R> I create?

R> Thanks.


Re: Socket Overlapped I/O .. Rollo
9/6/2007 7:02:07 AM
Thanks Vadym.

[quoted text, click to view]
AddThis Social Bookmark Button