Click here to Skip to main content
15,891,951 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
AnswerRe: CAsyncSocket question Pin
BrianCharles1-Sep-06 8:00
BrianCharles1-Sep-06 8:00 
GeneralRe: CAsyncSocket question Pin
CoolASL3-Sep-06 1:42
CoolASL3-Sep-06 1:42 
GeneralRe: CAsyncSocket question Pin
BrianCharles4-Sep-06 7:02
BrianCharles4-Sep-06 7:02 
QuestionValidation of matching comments Pin
reddy harish1-Sep-06 4:55
reddy harish1-Sep-06 4:55 
AnswerRe: Validation of matching comments Pin
Zac Howland1-Sep-06 5:21
Zac Howland1-Sep-06 5:21 
AnswerRe: Validation of matching comments Pin
Maximilien1-Sep-06 5:22
Maximilien1-Sep-06 5:22 
AnswerRe: Validation of matching comments Pin
MayankT1-Sep-06 6:00
MayankT1-Sep-06 6:00 
AnswerRe: Validation of matching comments Pin
CoolASL1-Sep-06 6:43
CoolASL1-Sep-06 6:43 
GeneralRe: Validation of matching comments Pin
Stephen Hewitt1-Sep-06 17:46
Stephen Hewitt1-Sep-06 17:46 
GeneralRe: Validation of matching comments Pin
CoolASL3-Sep-06 1:45
CoolASL3-Sep-06 1:45 
QuestionHow to Hook Socket? Pin
Dody_DK1-Sep-06 4:44
Dody_DK1-Sep-06 4:44 
AnswerRe: How to Hook Socket? Pin
Hamid_RT1-Sep-06 22:19
Hamid_RT1-Sep-06 22:19 
QuestionManipulating stringtable at runtime Pin
Andre xxxxxxx1-Sep-06 4:35
Andre xxxxxxx1-Sep-06 4:35 
AnswerRe: Manipulating stringtable at runtime Pin
Zac Howland1-Sep-06 5:20
Zac Howland1-Sep-06 5:20 
QuestionHow to write CString to a .txt file Pin
ewighell1-Sep-06 4:32
ewighell1-Sep-06 4:32 
AnswerRe: How to write CString to a .txt file Pin
V_shr1-Sep-06 4:39
V_shr1-Sep-06 4:39 

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.