Click here to Skip to main content
15,867,568 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
How to receive the data into the character pointer in the MFC chat server and client application?

[Edit - Further info from OP (moved from comment)]

I am having the problem in receiving values from the server/client.. in the AsyncSocket::Receive function.

I am using the
C++
TCHAR *pbuff=new TCHAR[4096];

while receiving in pBuff I can get only the first 3 characters.

Help me.

[/Edit]
Posted
Updated 31-Dec-10 0:49am
v3
Comments
Sandeep Mewara 30-Dec-10 13:53pm    
Any effort?
Richard MacCutchan 31-Dec-10 7:55am    
Duplicate question, answered and resolved elsewhere.

1 solution

Have you tried anything at all?

If so, what problems have you encountered?

If not, then try an internet search for mfc chat server or something similar. Then give it a try on your own.

Come back here with specific problems you have encountered and I'm sure people will help you out.
 
Share this answer
 
Comments
fjdiewornncalwe 3-Jan-11 21:30pm    
Is see you finally p***** him off and he downvoted you now... I'll compensate because this guy really rubs me the wrong way.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900