Click here to Skip to main content
15,905,420 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: MFC Serialization Questions.. Pin
Ravi Bhavnani31-Dec-05 5:14
professionalRavi Bhavnani31-Dec-05 5:14 
AnswerRe: MFC Serialization Questions.. Pin
ToxickZero30-Dec-05 9:34
ToxickZero30-Dec-05 9:34 
GeneralRe: MFC Serialization Questions.. Pin
montiee30-Dec-05 17:04
montiee30-Dec-05 17:04 
AnswerRe: MFC Serialization Questions.. Pin
Cliff Hatch1-Jan-06 0:53
Cliff Hatch1-Jan-06 0:53 
GeneralRe: MFC Serialization Questions.. Pin
Cliff Hatch2-Jan-06 0:54
Cliff Hatch2-Jan-06 0:54 
QuestionHow to resize child window Pin
shivditya30-Dec-05 5:24
shivditya30-Dec-05 5:24 
AnswerRe: How to resize child window Pin
John R. Shaw31-Dec-05 18:55
John R. Shaw31-Dec-05 18:55 
Questionfile transfer time prblm Pin
Orell30-Dec-05 2:24
Orell30-Dec-05 2:24 
hi ;
i am doing a proj(vc6) which include file transfer in lan the code i used is

......send
byte* data = new byte[4096];
file.Open("filename",CFile::modeRead|CFile::typeBinary);
do
{
dwRead = file.Read(data,4096);
sock.Send(data,dwRead);
}
while (dwRead>0);
delete data;
file.Close();
.........rec
byte* data = new byte[4096];
file.Open("filename",CFile::modeWrite|CFile::typeBinary);
do
{
dwRead = sock.Recive(data,4096);
file.Write(data,dwRead);
}
while (dwRead>0);
delete data;
file.Close();
..............
the prblm i am facing is that i got transer sound and some other stuffs,which is clear and perfectly working i am able to do that but while in file transer it take lot of time ie abt 30 sec for 500kb of data i got 100 mbps network so i think it should take around few sec ie 1-2 sec anyone got a solution for this do reply



Happy New Programming Year
joby
jobythomas24@gmail.com
AnswerRe: file transfer time prblm Pin
Prakash Nadar30-Dec-05 5:14
Prakash Nadar30-Dec-05 5:14 
QuestionHow to check the config Pin
nripun30-Dec-05 2:11
nripun30-Dec-05 2:11 
AnswerRe: How to check the config Pin
sunit530-Dec-05 2:28
sunit530-Dec-05 2:28 
GeneralRe: How to check the config Pin
sunit530-Dec-05 2:33
sunit530-Dec-05 2:33 
GeneralRe: How to check the config Pin
nripun30-Dec-05 2:41
nripun30-Dec-05 2:41 
GeneralRe: How to check the config Pin
sunit530-Dec-05 2:58
sunit530-Dec-05 2:58 
GeneralRe: How to check the config Pin
nripun30-Dec-05 5:23
nripun30-Dec-05 5:23 
GeneralRe: How to check the config Pin
sunit530-Dec-05 3:18
sunit530-Dec-05 3:18 
QuestionHow help file(.hlp) can be integrated in my program Pin
mikobi30-Dec-05 1:46
mikobi30-Dec-05 1:46 
QuestionOLE 2.0 DB Problem Pin
ShelJo30-Dec-05 1:39
ShelJo30-Dec-05 1:39 
QuestionTo open com port thrugh window CE emulator Pin
birajendu30-Dec-05 1:25
birajendu30-Dec-05 1:25 
QuestionCustom Caption in XP Pin
Dave Regan30-Dec-05 1:25
Dave Regan30-Dec-05 1:25 
AnswerRe: Custom Caption in XP Pin
Owner drawn30-Dec-05 1:33
Owner drawn30-Dec-05 1:33 
QuestionPrint Preview Architecutre Pin
Identity Undisclosed30-Dec-05 1:22
Identity Undisclosed30-Dec-05 1:22 
Questionplz help me out Pin
whizano30-Dec-05 1:21
whizano30-Dec-05 1:21 
AnswerRe: plz help me out Pin
Owner drawn30-Dec-05 1:36
Owner drawn30-Dec-05 1:36 
Generalits lik dis Pin
whizano30-Dec-05 20:41
whizano30-Dec-05 20:41 

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.