Click here to Skip to main content
15,914,013 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Converting HANDLE to FILE* Pin
Michael Dunn30-Jan-07 17:31
sitebuilderMichael Dunn30-Jan-07 17:31 
GeneralRe: Converting HANDLE to FILE* Pin
User 58385230-Jan-07 18:00
User 58385230-Jan-07 18:00 
GeneralRe: Converting HANDLE to FILE* Pin
prasad_som30-Jan-07 18:07
prasad_som30-Jan-07 18:07 
Questionzip format using md5 rather than crc32? Pin
Seungbeom Roh30-Jan-07 14:30
Seungbeom Roh30-Jan-07 14:30 
AnswerRe: zip format using md5 rather than crc32? Pin
Christian Graus30-Jan-07 16:19
protectorChristian Graus30-Jan-07 16:19 
GeneralRe: zip format using md5 rather than crc32? Pin
Seungbeom Roh30-Jan-07 16:22
Seungbeom Roh30-Jan-07 16:22 
GeneralRe: zip format using md5 rather than crc32? Pin
Hamid_RT31-Jan-07 19:58
Hamid_RT31-Jan-07 19:58 
QuestionOne last IOCP question :) Pin
Polity4h30-Jan-07 11:51
Polity4h30-Jan-07 11:51 
Alright, school is up back to the IOCP server Smile | :)
Everything works near to fine now, thanks to the good help i got from this site.
Anyways, there is one small problem/bug/design flaw left. I currently found a way around it but i dont like having ugly code with a way uglier solution.

Ok again im still using the IOCP with UDP.

Anyways, The problem is that i get trash in my completion ports. for example, i send something which goes fine by the way. After that i do a WSARecvFrom. Then i retrieve a IOCP notification pointing to the right extended overlapped. Now, the data inside is somethimes the right data i expected to recieve with the right size like 600 bytes, but somethimes it returns a size of 1 and no data unless i give it some time. So what do i do, i just continue and recieve a next notificication when recieving 1. this next notification contains the right data + size, so my first question, why did i get notified about my recv request before he comepletely recieved the data. a second problem, whenever i had the right data, it notifies me for like 2 extra times about it before nocking it off.

Anyone knows a NICE way to prevent this because its really ugly.

Thanks already!
AnswerRe: One last IOCP question :) Pin
Mark Salsbery30-Jan-07 12:21
Mark Salsbery30-Jan-07 12:21 
GeneralRe: One last IOCP question :) Pin
Polity4h30-Jan-07 12:55
Polity4h30-Jan-07 12:55 
GeneralRe: One last IOCP question :) Pin
Mark Salsbery30-Jan-07 13:42
Mark Salsbery30-Jan-07 13:42 
GeneralRe: One last IOCP question :) Pin
Polity4h30-Jan-07 14:04
Polity4h30-Jan-07 14:04 
GeneralRe: One last IOCP question :) Pin
Mark Salsbery30-Jan-07 14:39
Mark Salsbery30-Jan-07 14:39 
GeneralRe: One last IOCP question :) Pin
Mark Salsbery30-Jan-07 14:48
Mark Salsbery30-Jan-07 14:48 
GeneralRe: One last IOCP question :) Pin
Polity4h1-Feb-07 9:30
Polity4h1-Feb-07 9:30 
GeneralRe: One last IOCP question :) Pin
Mark Salsbery1-Feb-07 10:19
Mark Salsbery1-Feb-07 10:19 
GeneralRe: One last IOCP question :) Pin
Polity4h1-Feb-07 11:08
Polity4h1-Feb-07 11:08 
GeneralRe: One last IOCP question :) Pin
Mark Salsbery1-Feb-07 11:12
Mark Salsbery1-Feb-07 11:12 
GeneralRe: One last IOCP question :) Pin
Polity4h1-Feb-07 11:31
Polity4h1-Feb-07 11:31 
GeneralRe: One last IOCP question :) Pin
Mark Salsbery1-Feb-07 11:53
Mark Salsbery1-Feb-07 11:53 
GeneralRe: One last IOCP question :) Pin
Polity4h1-Feb-07 11:54
Polity4h1-Feb-07 11:54 
GeneralRe: One last IOCP question :) Pin
Mark Salsbery1-Feb-07 11:58
Mark Salsbery1-Feb-07 11:58 
GeneralRe: One last IOCP question :) Pin
Polity4h1-Feb-07 12:05
Polity4h1-Feb-07 12:05 
GeneralRe: One last IOCP question :) Pin
Mark Salsbery1-Feb-07 12:12
Mark Salsbery1-Feb-07 12:12 
Questiondisappearing check boxes Pin
maladuk30-Jan-07 11:13
maladuk30-Jan-07 11:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.