Click here to Skip to main content
15,921,959 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Why any application get hangs. Pin
sheshidar1-Sep-06 20:45
sheshidar1-Sep-06 20:45 
Questionchange the font color from coding Pin
Anu_Bala1-Sep-06 19:18
Anu_Bala1-Sep-06 19:18 
AnswerRe: change the font color from coding Pin
Hamid_RT1-Sep-06 20:17
Hamid_RT1-Sep-06 20:17 
AnswerRe: change the font color from coding Pin
Waldermort1-Sep-06 20:18
Waldermort1-Sep-06 20:18 
GeneralRe: change the font color from coding Pin
Hamid_RT1-Sep-06 20:29
Hamid_RT1-Sep-06 20:29 
QuestionHow can change color of dialog box Pin
sheshidar1-Sep-06 19:10
sheshidar1-Sep-06 19:10 
AnswerRe: How can change color of dialog box Pin
_AnsHUMAN_ 1-Sep-06 19:37
_AnsHUMAN_ 1-Sep-06 19:37 
GeneralRe: How can change color of dialog box Pin
sheshidar1-Sep-06 19:50
sheshidar1-Sep-06 19:50 
GeneralRe: How can change color of dialog box Pin
Hamid_RT1-Sep-06 20:02
Hamid_RT1-Sep-06 20:02 
GeneralRe: How can change color of dialog box Pin
sheshidar1-Sep-06 20:18
sheshidar1-Sep-06 20:18 
GeneralRe: How can change color of dialog box Pin
_AnsHUMAN_ 1-Sep-06 20:10
_AnsHUMAN_ 1-Sep-06 20:10 
QuestionLocal Automation works, remote doesn't Pin
garyflet1-Sep-06 13:28
garyflet1-Sep-06 13:28 
AnswerRe: Local Automation works, remote doesn't Pin
Stephen Hewitt1-Sep-06 17:40
Stephen Hewitt1-Sep-06 17:40 
QuestionRe: Local Automation works, remote doesn't Pin
garyflet2-Sep-06 12:26
garyflet2-Sep-06 12:26 
QuestionCCriticalSection Pin
act_x1-Sep-06 11:22
act_x1-Sep-06 11:22 
AnswerRe: CCriticalSection Pin
Chris Losinger1-Sep-06 11:44
professionalChris Losinger1-Sep-06 11:44 
GeneralRe: CCriticalSection Pin
act_x1-Sep-06 11:54
act_x1-Sep-06 11:54 
GeneralRe: CCriticalSection Pin
Chris Losinger1-Sep-06 12:01
professionalChris Losinger1-Sep-06 12:01 
QuestionConsole MFC Fullscreen Pin
Johpoke1-Sep-06 9:55
Johpoke1-Sep-06 9:55 
AnswerRe: Console MFC Fullscreen Pin
Jun Du1-Sep-06 12:12
Jun Du1-Sep-06 12:12 
QuestionSetWizardMode results in wizard too wide for its page Pin
Owen Lawrence1-Sep-06 9:03
Owen Lawrence1-Sep-06 9:03 
QuestionPointer to CPropertyPage Pin
DanYELL1-Sep-06 7:34
DanYELL1-Sep-06 7:34 
AnswerRe: Pointer to CPropertyPage Pin
Chris Losinger1-Sep-06 9:31
professionalChris Losinger1-Sep-06 9:31 
QuestionCAsyncSocket question Pin
CoolASL1-Sep-06 6:19
CoolASL1-Sep-06 6:19 
Hi all,
I am using CAsyncSocket derived class for a client server application.
I am quite confused about the OnSend() function.

When i send any data using Send(), then why exactly do i need OnSend(). What i mean is, if i have already sent the data using Send() do i need to send it again in OnSend().

For OnReceive() i understand that whenever there is some data available in the buffer, it will be called and we can receive the message. There is no special requirement to call Receive() explicitly outside, so that OnReceive() will be called.

Can anyone please answer that.
To put it more clearly, do i need to implement OnSend() to send out data ?

Thanks in advance.


*** Who said nothing is impossible? I have been doing it for a long time ***

AnswerRe: CAsyncSocket question Pin
led mike1-Sep-06 7:48
led mike1-Sep-06 7:48 

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.