mhc
October 14th, 1999, 04:49 AM
I write a program in read/write file.Besides, if I want to send binary files through CSocket, what i should indicate?(becasuse i find that i can send text file sucessfully, but
I fail in sending a binary file. I only send first 4 bytes of the file then stop.
If I write the following:
CString buffer=m_pBuffer;
where m_pBuffer is char*
are there any problem if I assign this?
I fail in sending a binary file. I only send first 4 bytes of the file then stop.
If I write the following:
CString buffer=m_pBuffer;
where m_pBuffer is char*
are there any problem if I assign this?