Click here to Skip to main content
15,919,434 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: [Solved] create directory hierarchy Pin
MANISH RASTOGI2-Oct-08 19:17
MANISH RASTOGI2-Oct-08 19:17 
AnswerRe: create directory hierarchy Pin
Hamid_RT1-Oct-08 8:58
Hamid_RT1-Oct-08 8:58 
GeneralRe: [Solved] create directory hierarchy Pin
MANISH RASTOGI2-Oct-08 19:09
MANISH RASTOGI2-Oct-08 19:09 
AnswerRe: create directory hierarchy Pin
Brij2-Oct-08 3:01
mentorBrij2-Oct-08 3:01 
GeneralRe: create directory hierarchy Pin
MANISH RASTOGI2-Oct-08 19:18
MANISH RASTOGI2-Oct-08 19:18 
Questionhow to read binary data from socket using recv() [modified] Pin
wagas1-Oct-08 1:06
wagas1-Oct-08 1:06 
QuestionRe: how to read binary data from socket using recv() Pin
CPallini1-Oct-08 1:54
mveCPallini1-Oct-08 1:54 
AnswerRe: how to read binary data from socket using recv() Pin
Mark Salsbery1-Oct-08 6:17
Mark Salsbery1-Oct-08 6:17 
Sockets don't know the difference between binary and text data.
Sockets work with bytes and that's it. All data is binary on a socket.

Your problem is with your socket implementation, not the data type.

Is the sender sending exactly 512 bytes? If not, then why are you
trying to recv 512 bytes?

What happens if recv only gives you 1 byte? do you have code to recv
the other 511 bytes?

Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

QuestionTask Scheduler Pin
brucewayn1-Oct-08 1:05
brucewayn1-Oct-08 1:05 
AnswerRe: Task Scheduler [modified] Pin
_AnsHUMAN_ 1-Oct-08 1:19
_AnsHUMAN_ 1-Oct-08 1:19 
Questionpoi command in debugger Pin
George_George1-Oct-08 0:55
George_George1-Oct-08 0:55 
QuestionDebug Assertion Failure Pin
bhanu_850930-Sep-08 23:55
bhanu_850930-Sep-08 23:55 
AnswerRe: Debug Assertion Failure Pin
Roger Stoltz1-Oct-08 0:27
Roger Stoltz1-Oct-08 0:27 
GeneralRe: Debug Assertion Failure Pin
bhanu_85092-Oct-08 21:17
bhanu_85092-Oct-08 21:17 
AnswerRe: Debug Assertion Failure Pin
Roger Stoltz2-Oct-08 21:50
Roger Stoltz2-Oct-08 21:50 
GeneralRe: Debug Assertion Failure Pin
bhanu_85094-Oct-08 0:04
bhanu_85094-Oct-08 0:04 
QuestionRun-Time Check Failure Pin
George_George30-Sep-08 23:51
George_George30-Sep-08 23:51 
AnswerRe: Run-Time Check Failure Pin
Naveen30-Sep-08 23:59
Naveen30-Sep-08 23:59 
GeneralRe: Run-Time Check Failure Pin
George_George1-Oct-08 0:21
George_George1-Oct-08 0:21 
GeneralRe: Run-Time Check Failure Pin
toxcct1-Oct-08 0:32
toxcct1-Oct-08 0:32 
GeneralRe: Run-Time Check Failure Pin
George_George1-Oct-08 0:34
George_George1-Oct-08 0:34 
GeneralRe: Run-Time Check Failure Pin
toxcct1-Oct-08 1:14
toxcct1-Oct-08 1:14 
GeneralRe: Run-Time Check Failure Pin
George_George3-Oct-08 0:14
George_George3-Oct-08 0:14 
GeneralRe: Run-Time Check Failure Pin
toxcct3-Oct-08 0:22
toxcct3-Oct-08 0:22 
GeneralRe: Run-Time Check Failure Pin
George_George3-Oct-08 0:37
George_George3-Oct-08 0:37 

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.