Click here to Skip to main content
15,922,419 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: popup yellow information box - HOWTO? Pin
zecodela17-Mar-03 16:32
zecodela17-Mar-03 16:32 
QuestionHow do you scroll text in a CEdit? Pin
Abin17-Mar-03 14:27
Abin17-Mar-03 14:27 
AnswerRe: How do you scroll text in a CEdit? Pin
Jean-Michel LE FOL17-Mar-03 15:24
Jean-Michel LE FOL17-Mar-03 15:24 
GeneralRe: How do you scroll text in a CEdit? Pin
Abin17-Mar-03 15:55
Abin17-Mar-03 15:55 
Generalto link the dialog box with window using mfc Pin
khb82110217-Mar-03 14:20
khb82110217-Mar-03 14:20 
GeneralDrawItem for CTreeCtrl Pin
Florin Ochiana17-Mar-03 12:58
Florin Ochiana17-Mar-03 12:58 
GeneralRe: DrawItem for CTreeCtrl Pin
Neville Franks17-Mar-03 17:47
Neville Franks17-Mar-03 17:47 
GeneralCAsyncSockets Pin
chrisedgington17-Mar-03 12:18
chrisedgington17-Mar-03 12:18 
Suspicious | :suss: This should be a simple one for everyone:
I have written a simple client server app to read in a string and send it across. I have implemented this with standard CSockets but want to port it in a simple manner to use CAsyncSockets. I am not familiar with the sequence of events that occur with these-I only know how the CSockets work:

Client<br />
create<br />
connect(IP,Port)<br />
//using archive<br />
CArchive.write(...)<br />
//then tidy up<br />
<br />
Server<br />
create(Port)<br />
listen<br />
//using archive<br />
CArchive.read(...)<br />
//then tidy up


I know that the asyncs. don't use archives and that the read and write mechanisms are different; but the more serious problem that I have is that I have no idea how things are meant to be ordered. I have read a lot about overloading member functions and the like but am thoroughly confused. Anyone able to offer some hints? I have read and tried to disassemble the code for the AsyncProxySocket example that's on here somewhere and ended up bashing my head against the wall. Confused | :confused:
There doesn't seem to be a great deal in the msdn about them. Eek! | :eek:

Thanks in advance
GeneralRe: CAsyncSockets Pin
Florin Ochiana17-Mar-03 12:55
Florin Ochiana17-Mar-03 12:55 
GeneralRe: CAsyncSockets Pin
Moak18-Mar-03 1:40
Moak18-Mar-03 1:40 
GeneralRe: CAsyncSockets Pin
chrisedgington18-Mar-03 23:18
chrisedgington18-Mar-03 23:18 
GeneralRe: CAsyncSockets Pin
Moak19-Mar-03 3:36
Moak19-Mar-03 3:36 
GeneralRe: CAsyncSockets Pin
chrisedgington19-Mar-03 4:31
chrisedgington19-Mar-03 4:31 
GeneralRe: CAsyncSockets Pin
Moak19-Mar-03 4:47
Moak19-Mar-03 4:47 
GeneralRe: CAsyncSockets Pin
chrisedgington19-Mar-03 4:58
chrisedgington19-Mar-03 4:58 
GeneralRe: CAsyncSockets Pin
Moak19-Mar-03 5:08
Moak19-Mar-03 5:08 
GeneralRe: CAsyncSockets Pin
chrisedgington19-Mar-03 6:07
chrisedgington19-Mar-03 6:07 
GeneralWin 32 Tooltip Pin
Anonymous17-Mar-03 12:18
Anonymous17-Mar-03 12:18 
GeneralRe: Win 32 Tooltip Pin
Neville Franks17-Mar-03 17:44
Neville Franks17-Mar-03 17:44 
GeneralRe: Win 32 Tooltip Pin
georgiek5017-Mar-03 22:46
georgiek5017-Mar-03 22:46 
GeneralRe: Win 32 Tooltip Pin
Neville Franks17-Mar-03 23:35
Neville Franks17-Mar-03 23:35 
GeneralRe: Win 32 Tooltip Pin
georgiek5018-Mar-03 1:28
georgiek5018-Mar-03 1:28 
GeneralReal quick question... Pin
CherezZaboro17-Mar-03 12:16
CherezZaboro17-Mar-03 12:16 
GeneralRe: Real quick question... Pin
_Theo_18-Mar-03 0:14
_Theo_18-Mar-03 0:14 
GeneralRe: Real quick question... Pin
Lakitu18-Mar-03 0:16
Lakitu18-Mar-03 0:16 

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.