Click here to Skip to main content
15,890,609 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Pipe Problem Pin
Randor 11-Jun-09 4:17
professional Randor 11-Jun-09 4:17 
GeneralRe: Pipe Problem Pin
ssm198411914-Jun-09 15:33
ssm198411914-Jun-09 15:33 
QuestionError packing files into buffer and sending them over network [modified] Pin
andrew_dk10-Jun-09 16:58
andrew_dk10-Jun-09 16:58 
AnswerRe: Error packing files into buffer and sending them over network Pin
Ozer Karaagac10-Jun-09 20:00
professionalOzer Karaagac10-Jun-09 20:00 
GeneralRe: Error packing files into buffer and sending them over network Pin
andrew_dk10-Jun-09 20:41
andrew_dk10-Jun-09 20:41 
GeneralRe: Error packing files into buffer and sending them over network Pin
Ozer Karaagac11-Jun-09 0:52
professionalOzer Karaagac11-Jun-09 0:52 
GeneralRe: Error packing files into buffer and sending them over network Pin
andrew_dk11-Jun-09 10:10
andrew_dk11-Jun-09 10:10 
GeneralRe: Error packing files into buffer and sending them over network [modified] Pin
andrew_dk11-Jun-09 11:38
andrew_dk11-Jun-09 11:38 
I'm now using posix_memalign to allocate the memory on a 64 byte boundary. However the issue was much more simple. I removed the code to turn the server side app into a daemon and then ran it under GDB. It turns out the SIGPIPE signal was been sent to the daemon in the call to send. ie. my client was simply timing out and disconnecting. As I didn't have a SIGPIPE handler installed for my daemon I didn't realise this and was looking in the wrong place for the error. Not my smartest day(!).

modified on Thursday, June 11, 2009 9:10 PM

QuestionMFC Feature Pack Pin
kedanz10-Jun-09 15:48
kedanz10-Jun-09 15:48 
QuestionWhere is printf? Pin
Gjm10-Jun-09 15:05
Gjm10-Jun-09 15:05 
AnswerRe: Where is printf? Pin
«_Superman_»10-Jun-09 15:25
professional«_Superman_»10-Jun-09 15:25 
GeneralRe: Where is printf? Pin
Gjm10-Jun-09 15:32
Gjm10-Jun-09 15:32 
QuestionRe: Where is printf? Pin
David Crow10-Jun-09 15:51
David Crow10-Jun-09 15:51 
GeneralRe: Where is printf? Pin
CPallini10-Jun-09 21:24
mveCPallini10-Jun-09 21:24 
QuestionWrong help file afxhelp.hm path in VC 6.0 SOLVED Pin
Vaclav_10-Jun-09 10:00
Vaclav_10-Jun-09 10:00 
AnswerRe: Wrong help file afxhelp.hm path in VC 6.0 Pin
Randor 10-Jun-09 10:42
professional Randor 10-Jun-09 10:42 
GeneralRe: Wrong help file afxhelp.hm path in VC 6.0 Pin
Vaclav_11-Jun-09 7:27
Vaclav_11-Jun-09 7:27 
QuestionSharing a singleton in an executable and a runtime DLL Pin
Dustin Henry10-Jun-09 6:50
Dustin Henry10-Jun-09 6:50 
AnswerRe: Sharing a singleton in an executable and a runtime DLL Pin
Stuart Dootson10-Jun-09 8:40
professionalStuart Dootson10-Jun-09 8:40 
GeneralRe: Sharing a singleton in an executable and a runtime DLL Pin
Dustin Henry11-Jun-09 11:19
Dustin Henry11-Jun-09 11:19 
GeneralRe: Sharing a singleton in an executable and a runtime DLL Pin
Stuart Dootson11-Jun-09 22:09
professionalStuart Dootson11-Jun-09 22:09 
QuestionStructure Value is not getting updated Pin
sakthii10-Jun-09 4:59
sakthii10-Jun-09 4:59 
AnswerRe: Structure Value is not getting updated Pin
«_Superman_»10-Jun-09 5:18
professional«_Superman_»10-Jun-09 5:18 
AnswerRe: Structure Value is not getting updated Pin
Stephen Hewitt10-Jun-09 5:25
Stephen Hewitt10-Jun-09 5:25 
AnswerRe: Structure Value is not getting updated Pin
Roger Stoltz10-Jun-09 5:42
Roger Stoltz10-Jun-09 5:42 

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.