Click here to Skip to main content
15,878,814 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: two forms Pin
Desmo1628-Jun-06 22:11
Desmo1628-Jun-06 22:11 
GeneralRe: two forms Pin
Naveen28-Jun-06 22:26
Naveen28-Jun-06 22:26 
GeneralRe: two forms Pin
Desmo1628-Jun-06 22:46
Desmo1628-Jun-06 22:46 
QuestionCommand handlers difference Pin
Rupesh Shivarkar28-Jun-06 21:12
Rupesh Shivarkar28-Jun-06 21:12 
AnswerRe: Command handlers difference Pin
Viorel.28-Jun-06 22:53
Viorel.28-Jun-06 22:53 
GeneralRe: Command handlers difference Pin
Rupesh Shivarkar29-Jun-06 1:40
Rupesh Shivarkar29-Jun-06 1:40 
Questionsend and FD_WRITE [modified] Pin
followait28-Jun-06 20:58
followait28-Jun-06 20:58 
AnswerRe: send and FD_WRITE Pin
Laxman Auti28-Jun-06 21:07
Laxman Auti28-Jun-06 21:07 
followait wrote:
Suppose send buffer has 2 bytes free

n=send(s,buf,16,0)

Will 2 bytes of buf be sent?

I call send in FD_READ according to the received data. If I can't send the data entirely, how can I send it after that.



Since it's not possible to send/receive whole data at a time subject to size of the data.

so before sending or putting the data into buffer, clean up the buffer and after put the data into it or simply use some delimiters to identify the end of the data.

and wait and receive until you will get all the data based on delimiter(s).

Knock out 't' from can't,
You can if you think you can
Cool | :cool:
GeneralRe: send and FD_WRITE [modified] Pin
followait28-Jun-06 21:39
followait28-Jun-06 21:39 
GeneralRe: send and FD_WRITE Pin
Laxman Auti28-Jun-06 22:53
Laxman Auti28-Jun-06 22:53 
AnswerRe: send and FD_WRITE Pin
markkuk28-Jun-06 23:23
markkuk28-Jun-06 23:23 
GeneralRe: send and FD_WRITE Pin
followait29-Jun-06 5:11
followait29-Jun-06 5:11 
QuestionHow to Change the color of Dialog Box Pin
Krishnatv28-Jun-06 20:56
Krishnatv28-Jun-06 20:56 
AnswerRe: How to Change the color of Dialog Box Pin
Rajesh R Subramanian28-Jun-06 20:59
professionalRajesh R Subramanian28-Jun-06 20:59 
AnswerRe: How to Change the color of Dialog Box Pin
Hamid_RT28-Jun-06 21:07
Hamid_RT28-Jun-06 21:07 
AnswerRe: How to Change the color of Dialog Box Pin
Laxman Auti28-Jun-06 21:12
Laxman Auti28-Jun-06 21:12 
AnswerRe: How to Change the color of Dialog Box Pin
Hamid_RT28-Jun-06 21:22
Hamid_RT28-Jun-06 21:22 
AnswerRe: How to Change the color of Dialog Box Pin
mimimimilaw28-Jun-06 22:07
mimimimilaw28-Jun-06 22:07 
QuestionHow to change App icon Pin
Raul Simcic28-Jun-06 20:55
Raul Simcic28-Jun-06 20:55 
AnswerRe: How to change App icon Pin
Sarath C28-Jun-06 21:29
Sarath C28-Jun-06 21:29 
GeneralRe: How to change App icon Pin
Raul Simcic28-Jun-06 23:30
Raul Simcic28-Jun-06 23:30 
QuestionOutlook Object Model Pin
Mahesh Kulkarni28-Jun-06 20:40
Mahesh Kulkarni28-Jun-06 20:40 
AnswerRe: Outlook Object Model Pin
HakunaMatada28-Jun-06 20:56
HakunaMatada28-Jun-06 20:56 
GeneralRe: Outlook Object Model Pin
Mahesh Kulkarni28-Jun-06 21:01
Mahesh Kulkarni28-Jun-06 21:01 
GeneralRe: Outlook Object Model Pin
HakunaMatada28-Jun-06 21:13
HakunaMatada28-Jun-06 21:13 

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.