Click here to Skip to main content
15,925,602 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: gracefully kill a process [modified] Pin
Jeroen Walter21-Feb-07 21:28
Jeroen Walter21-Feb-07 21:28 
QuestionRe: gracefully kill a process Pin
David Crow22-Feb-07 2:25
David Crow22-Feb-07 2:25 
AnswerRe: gracefully kill a process Pin
Jim Crafton22-Feb-07 3:28
Jim Crafton22-Feb-07 3:28 
GeneralRe: gracefully kill a process Pin
David Crow22-Feb-07 5:54
David Crow22-Feb-07 5:54 
Questionrecvfrom with less than available bytes Pin
Dave_21-Feb-07 4:02
Dave_21-Feb-07 4:02 
AnswerRe: recvfrom with less than available bytes Pin
James R. Twine21-Feb-07 7:05
James R. Twine21-Feb-07 7:05 
GeneralRe: recvfrom with less than available bytes Pin
Dave_21-Feb-07 9:59
Dave_21-Feb-07 9:59 
AnswerRe: recvfrom with less than available bytes Pin
Mark Salsbery21-Feb-07 8:25
Mark Salsbery21-Feb-07 8:25 
To add to James' excellent reply....this is from the docs:

"If the datagram or message is larger than the buffer specified, the buffer is filled with the
first part of the datagram, and recv generates the error WSAEMSGSIZE. For unreliable protocols
(for example, UDP) the excess data is lost;"

Better to recv the exact datagram size or more to make sure you get the etire datagram Smile | :)

Mark


"Do you know what it's like to fall in the mud and get kicked... in the head... with an iron boot?
Of course you don't, no one does. It never happens. It's a dumb question... skip it."

GeneralRe: recvfrom with less than available bytes Pin
James R. Twine21-Feb-07 8:38
James R. Twine21-Feb-07 8:38 
GeneralRe: recvfrom with less than available bytes Pin
Mark Salsbery21-Feb-07 8:53
Mark Salsbery21-Feb-07 8:53 
Questioncoding 0f this output Pin
bushxee21-Feb-07 3:51
bushxee21-Feb-07 3:51 
AnswerRe: coding 0f this output Pin
toxcct21-Feb-07 3:56
toxcct21-Feb-07 3:56 
GeneralRe: coding 0f this output Pin
Newbie0021-Feb-07 4:13
Newbie0021-Feb-07 4:13 
GeneralRe: coding 0f this output Pin
bushxee21-Feb-07 4:46
bushxee21-Feb-07 4:46 
GeneralRe: coding 0f this output Pin
toxcct21-Feb-07 4:48
toxcct21-Feb-07 4:48 
GeneralRe: coding 0f this output Pin
bushxee21-Feb-07 4:39
bushxee21-Feb-07 4:39 
GeneralRe: coding 0f this output Pin
toxcct21-Feb-07 4:44
toxcct21-Feb-07 4:44 
GeneralRe: coding 0f this output Pin
ThatsAlok21-Feb-07 5:54
ThatsAlok21-Feb-07 5:54 
GeneralRe: coding 0f this output Pin
toxcct21-Feb-07 5:57
toxcct21-Feb-07 5:57 
GeneralRe: coding 0f this output Pin
Hamid_RT21-Feb-07 5:48
Hamid_RT21-Feb-07 5:48 
GeneralRe: coding 0f this output Pin
ThatsAlok21-Feb-07 5:54
ThatsAlok21-Feb-07 5:54 
JokeRe: coding 0f this output Pin
James R. Twine21-Feb-07 6:57
James R. Twine21-Feb-07 6:57 
GeneralRe: coding 0f this output Pin
kakan21-Feb-07 19:34
professionalkakan21-Feb-07 19:34 
JokeRe: coding 0f this output Pin
ThatsAlok21-Feb-07 5:54
ThatsAlok21-Feb-07 5:54 
QuestionGradient background to all the dialog boxes and non client area Pin
Sameer_Thakur21-Feb-07 3:47
Sameer_Thakur21-Feb-07 3:47 

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.