Click here to Skip to main content
15,917,061 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Passing window to a different process? Pin
palbano11-Jun-04 7:43
palbano11-Jun-04 7:43 
GeneralRe: Passing window to a different process? Pin
IGx8911-Jun-04 8:03
IGx8911-Jun-04 8:03 
GeneralRe: Passing window to a different process? Pin
Joel Lucsy12-Jun-04 14:18
Joel Lucsy12-Jun-04 14:18 
GeneralRe: Passing window to a different process? Pin
IGx8912-Jun-04 15:23
IGx8912-Jun-04 15:23 
GeneralDialog Based Server-Client Pin
Billar11-Jun-04 3:50
Billar11-Jun-04 3:50 
GeneralRe: Dialog Based Server-Client Pin
jmkhael11-Jun-04 4:03
jmkhael11-Jun-04 4:03 
GeneralRe: Dialog Based Server-Client Pin
Anonymous11-Jun-04 4:45
Anonymous11-Jun-04 4:45 
GeneralRe: Dialog Based Server-Client Pin
jmkhael11-Jun-04 4:54
jmkhael11-Jun-04 4:54 
The CSocket is a higher level class than the CAsyncSocket.

It is easier to manipulate to serialize the data over the network. You dont have to care much about socket notifications, it does all the work for you.
But you also lose some flexibility.

You can use whatever you need for your application.

In order to use CArchive and CSocketFile with an CSocket you just need to create a CSocketFile object (on the heap or on the stack, as you wish)and give it a pointer to your CSocket object.

Then when needed you create a CArchive and you map it to a CSocketFile via its constructor and now you are ready to serialize your data on the network by just passing the archive to your serialize function.



Papa


while (TRUE)
Papa.WillLove ( Bebe ) ;
GeneralRe: Dialog Based Server-Client Pin
vcplusplus11-Jun-04 8:06
vcplusplus11-Jun-04 8:06 
GeneralRe: Dialog Based Server-Client Pin
David Crow11-Jun-04 4:45
David Crow11-Jun-04 4:45 
GeneralRe: Dialog Based Server-Client Pin
valikac11-Jun-04 4:45
valikac11-Jun-04 4:45 
GeneralRe: Dialog Based Server-Client Pin
palbano11-Jun-04 5:10
palbano11-Jun-04 5:10 
GeneralRe: Dialog Based Server-Client Pin
Billar11-Jun-04 5:18
Billar11-Jun-04 5:18 
GeneralVC++ Shockwave ActiveX Pin
brokenwinter11-Jun-04 3:07
brokenwinter11-Jun-04 3:07 
QuestionCode????? Pin
ozgul11-Jun-04 2:54
ozgul11-Jun-04 2:54 
AnswerRe: Code????? Pin
Roger Allen11-Jun-04 2:59
Roger Allen11-Jun-04 2:59 
GeneralCObList Serialization Versioning Pin
brdavid11-Jun-04 2:34
brdavid11-Jun-04 2:34 
GeneralRe: CObList Serialization Versioning Pin
Antony M Kancidrowski11-Jun-04 2:40
Antony M Kancidrowski11-Jun-04 2:40 
GeneralRe: CObList Serialization Versioning Pin
Ravi Bhavnani11-Jun-04 2:51
professionalRavi Bhavnani11-Jun-04 2:51 
Generaldll Pin
Ni@m11-Jun-04 2:14
Ni@m11-Jun-04 2:14 
GeneralRe: dll Pin
jmkhael11-Jun-04 2:23
jmkhael11-Jun-04 2:23 
GeneralRe: dll Pin
Ni@m11-Jun-04 23:51
Ni@m11-Jun-04 23:51 
Generalmfc class wizard Pin
mark18211-Jun-04 1:57
mark18211-Jun-04 1:57 
GeneralRe: mfc class wizard Pin
David Crow11-Jun-04 2:40
David Crow11-Jun-04 2:40 
GeneralRe: mfc class wizard Pin
palbano11-Jun-04 5:00
palbano11-Jun-04 5:00 

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.