Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / September 2007

Tip: Looking for answers? Try searching our database.

Socket overlapped i/o ..

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rollo - 05 Sep 2007 20:40 GMT
Hi:

Is there a discussion group for System.Net issues? I would appreciate this
post getting redirected there if there is one:

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?

Thanks.
Henning Krause [MVP - Exchange] - 06 Sep 2007 06:17 GMT
Hello,

The sockets class by default will use overlapped IO AND IO Completion ports
(On Windows NT system at least).

If you specify UseOnlyOverlappedIO you will disable IO Completion Ports,
which will actually hurt performance.

Kind regards,
Henning Krause

> Hi:
>
[quoted text clipped - 14 lines]
>
> Thanks.
Rollo - 06 Sep 2007 15:10 GMT
Thanks Henning. I am copying a reply I received from Vadym Stetsiak on the
performance group where I had posted the same question:

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

> Hello,
>
[quoted text clipped - 25 lines]
> >
> > Thanks.
Chris Mullins [MVP] - 06 Sep 2007 18:57 GMT
> Here are good resources on async sockets performance and scalability
> http://www.coversant.net/Coversant/Blogs/tabid/88/EntryID/10/Default.aspx

What a great blog entry! :)

(I couldn't resist. It's nice to see that stuff actually gets read by
people.....)

Signature

Chris Mullins, MCSD.NET, MCPD:Enterprise, Microsoft C# MVP
http://www.coversant.com/blogs/cmullins


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.