16,012,018 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Member 10937201 (Top 2 by date)
Member 10937201
19-Jun-18 3:28am
View
Is there anybody can explain for me?
Thanks!
Member 10937201
4-Jun-18 23:27pm
View
thanks for your reply! I still can't understand what you describe,for example, if the remote address post to me it's data wiht characters "abcdefghi",for some reasons,i have to continuously post two WSARecv on the same socket but in the same workthread or in tow workthread concomitantly to obtain all of the characters.the buffer used in the first WSARecv filled by the some front characters of "abcdefghi" ,the buffer used in the Second WSARecv filled by the the rest of characters "abcdefghi" ,is that right? because the book《Network Programming For Microsoft Windows,Second Edition》by Anthony Jones,Jim Ohlund,said that,the buffer can be filled with the order of post WSARecv,that is guaranteed! therefore the IO completion package is also the same order,and they are queued in first-in-first-out (FIFO) order to the associated I/O completion port. and when a completion packet is released to a thread, the system releases the last (most recent) thread associated with that port, passing it the completion information for the oldest I/O completion. Whichever thread is released first,i should get the front data of the characters, but why the completion notification isn't order? so i still can't understand what your explanation. What does it have to do with the device, and What does the device mean?
for reply,thanks!