Thread: Recommend some asynchronous I/O tutorial?

  1. #1
    Registered User
    Join Date
    May 2006
    Posts
    1,579

    Recommend some asynchronous I/O tutorial?

    Hello everyone,


    I am new to asynchronous I/O. Could anyone recommend some tutorials for beginners, especially how to handle asynchornous I/O with network input/output.

    The set of APIs I want to learn is like CreateIoCompletionPort, GetQueuedCompletionStatus, etc. I can not find related samples from MSDN, so I am wondering if you have any recommended articles. :-)


    thanks in advance,
    George

  2. #2
    Hurry Slowly vart's Avatar
    Join Date
    Oct 2006
    Location
    Rishon LeZion, Israel
    Posts
    6,788
    Have you used google? the first link from the search results http://www.google.co.il/search?hl=en...t+sample&meta=
    brings me to some msdn samples...
    All problems in computer science can be solved by another level of indirection,
    except for the problem of too many layers of indirection.
    – David J. Wheeler

  3. #3
    Registered User
    Join Date
    May 2006
    Posts
    1,579
    Hi vart,


    If you check the list, there is no C++ sample dealing with network related asynchronous I/O. Correct me if I am wrong. :-)

    Quote Originally Posted by vart View Post
    Have you used google? the first link from the search results http://www.google.co.il/search?hl=en...t+sample&meta=
    brings me to some msdn samples...

    regards,
    George

  4. #4
    Hurry Slowly vart's Avatar
    Join Date
    Oct 2006
    Location
    Rishon LeZion, Israel
    Posts
    6,788
    Have you tried google? Maybe it is a time to start learning search technics?

    http://www.microsoft.com/mspress/boo...chap/5726.aspx
    http://www.google.co.il/search?hl=en...t+sample&meta=
    All problems in computer science can be solved by another level of indirection,
    except for the problem of too many layers of indirection.
    – David J. Wheeler

  5. #5
    Registered User
    Join Date
    May 2006
    Posts
    1,579
    Looks like the Network Programming for Microsoft Windows, 2nd edition is not available in all online stores?


    Quote Originally Posted by vart View Post
    Have you tried google? Maybe it is a time to start learning search technics?

    http://www.microsoft.com/mspress/boo...chap/5726.aspx
    http://www.google.co.il/search?hl=en...t+sample&meta=

    regards,
    George

  6. #6
    Registered User
    Join Date
    Mar 2005
    Location
    Mountaintop, Pa
    Posts
    1,058
    Windows System Programming has a complete chapter devoted to asynchronous IOCP. It's standard C programming. That is, it doesn't use classes etc. that you would normally use in C++ coding. But IMHO, it would be an excellent asynch IOCP tutorial.

  7. #7
    Registered User
    Join Date
    May 2006
    Posts
    1,579
    Great book! Do you know any online free tutorials, BobS0327? :-)


    Quote Originally Posted by BobS0327 View Post
    Windows System Programming has a complete chapter devoted to asynchronous IOCP. It's standard C programming. That is, it doesn't use classes etc. that you would normally use in C++ coding. But IMHO, it would be an excellent asynch IOCP tutorial.

    regards,
    George

  8. #8
    Registered User
    Join Date
    Mar 2005
    Location
    Mountaintop, Pa
    Posts
    1,058

  9. #9
    Registered User
    Join Date
    May 2006
    Posts
    1,579
    Thanks BobS0327!


    You have a better ranking system thank Google. :-)

    Quote Originally Posted by BobS0327 View Post

    regards,
    George

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. why page based I/O can improve performance?
    By George2 in forum C Programming
    Replies: 1
    Last Post: 06-12-2006, 07:42 AM
  2. My new website
    By joeprogrammer in forum A Brief History of Cprogramming.com
    Replies: 19
    Last Post: 03-17-2006, 07:38 PM
  3. File I/O Tutorial Not Compiling
    By oobootsy1 in forum C++ Programming
    Replies: 10
    Last Post: 03-08-2004, 12:24 PM
  4. Overlapped I/O and Completion Port :: Winsock
    By kuphryn in forum Windows Programming
    Replies: 0
    Last Post: 10-30-2002, 05:14 PM
  5. The Best File I/O Tutorial!!!
    By loobian in forum C++ Programming
    Replies: 0
    Last Post: 04-03-2002, 10:51 AM