Click here to Skip to main content
15,914,943 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: File Opening problem [modified] Pin
VinayCool23-May-06 1:27
VinayCool23-May-06 1:27 
GeneralRe: File Opening problem [modified] Pin
Hamid_RT23-May-06 1:46
Hamid_RT23-May-06 1:46 
GeneralRe: File Opening problem [modified] Pin
VinayCool23-May-06 1:51
VinayCool23-May-06 1:51 
GeneralRe: File Opening problem [modified] Pin
VinayCool23-May-06 1:56
VinayCool23-May-06 1:56 
GeneralRe: File Opening problem [modified] Pin
Hamid_RT23-May-06 2:05
Hamid_RT23-May-06 2:05 
AnswerRe: File Opening problem Pin
knoxplusplus23-May-06 5:38
knoxplusplus23-May-06 5:38 
Questionrecv and send in different size problem [modified] Pin
followait22-May-06 20:45
followait22-May-06 20:45 
GeneralRe: recv and send in different size problem Pin
Laxman Auti22-May-06 21:04
Laxman Auti22-May-06 21:04 
followait wrote:
For example in sync mode, just for simplification.

Peer A:
send 5 bytes
send another 5 bytes

wait until all the data is received at the buffer of Peer B, then Peer B:

case 1:
recv 20 bytes
Will Peer B get 5 or 10 bytes?

case 2:
recv 2 bytes
Will Peer B get the first 2 bytes of the first 5 byte?
If yes, what is going on by recving 2 bytes a time until all data is recved?


This is may due to the network traffic.
generally people uses the loop until you get whole data and after that process that data.


Knock out 't' from can't,
You can if you think you can
Cool | :cool:
GeneralRe: recv and send in different size problem Pin
followait22-May-06 21:22
followait22-May-06 21:22 
GeneralRe: recv and send in different size problem Pin
Laxman Auti22-May-06 22:18
Laxman Auti22-May-06 22:18 
AnswerRe: recv and send in different size problem [modified] Pin
markkuk22-May-06 22:34
markkuk22-May-06 22:34 
GeneralRe: recv and send in different size problem [modified] Pin
followait22-May-06 23:11
followait22-May-06 23:11 
QuestionHow to implement progress bar control in SDK? Pin
ashokbngr22-May-06 20:33
ashokbngr22-May-06 20:33 
AnswerRe: How to implement progress bar control in SDK? Pin
Cedric Moonen22-May-06 20:48
Cedric Moonen22-May-06 20:48 
GeneralRe: How to implement progress bar control in SDK? Pin
ashokbngr22-May-06 23:09
ashokbngr22-May-06 23:09 
AnswerRe: How to implement progress bar control in SDK? Pin
Nibu babu thomas22-May-06 20:50
Nibu babu thomas22-May-06 20:50 
AnswerRe: How to implement progress bar control in SDK? Pin
Laxman Auti22-May-06 20:53
Laxman Auti22-May-06 20:53 
AnswerRe: How to implement progress bar control in SDK? Pin
Hamid_RT22-May-06 21:08
Hamid_RT22-May-06 21:08 
QuestionChange size of tree [modified] Pin
chybin22-May-06 20:32
chybin22-May-06 20:32 
QuestionHow to Get the handle to the CRichEditCtrl class Pin
Sameer_Thakur22-May-06 20:11
Sameer_Thakur22-May-06 20:11 
AnswerRe: How to Get the handle to the CRichEditCtrl class Pin
Nibu babu thomas22-May-06 20:13
Nibu babu thomas22-May-06 20:13 
QuestionEdit control in vc++ Pin
nitin_b1222-May-06 19:52
nitin_b1222-May-06 19:52 
AnswerRe: Edit control in vc++ Pin
Hamid_RT22-May-06 19:59
Hamid_RT22-May-06 19:59 
GeneralRe: Edit control in vc++ Pin
Sarath C22-May-06 20:14
Sarath C22-May-06 20:14 
GeneralRe: Edit control in vc++ Pin
Hamid_RT22-May-06 20:25
Hamid_RT22-May-06 20:25 

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.