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

C / C++ / MFC

 
GeneralRe: visualc++6 and win XP Pin
27-Mar-02 5:34
suss27-Mar-02 5:34 
GeneralRandom!!!!! Pin
hkl26-Mar-02 20:46
hkl26-Mar-02 20:46 
GeneralRe: Random!!!!! Pin
Joaquín M López Muñoz26-Mar-02 21:19
Joaquín M López Muñoz26-Mar-02 21:19 
GeneralRe: Random!!!!! THANK YOU!!! Pin
hkl26-Mar-02 21:40
hkl26-Mar-02 21:40 
GeneralSocket Problem... Pin
hkl26-Mar-02 19:14
hkl26-Mar-02 19:14 
GeneralRe: Socket Problem... Pin
Joaquín M López Muñoz26-Mar-02 19:47
Joaquín M López Muñoz26-Mar-02 19:47 
GeneralRe: Socket Problem... Pin
hkl26-Mar-02 20:01
hkl26-Mar-02 20:01 
GeneralRe: Socket Problem... Pin
Joaquín M López Muñoz26-Mar-02 21:15
Joaquín M López Muñoz26-Mar-02 21:15 
The mode of use of CAsyncSocket is different than CSocket. Put briefly, with asynchronous sockets you've got to wait for the socket to tell you that reading/writing is permissible. Check the docs for this class.
So I'm afraid you'll have to rewrite portions of your code to change to asynchronous.
An alternative ad hoc solution I just ran into is using Tim Kosse's CSocket-Derived Class that Checks for Timeouts, which hopefully can be plugged into your program with minimum effort.

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
GeneralRe: Socket Problem... Pin
hkl26-Mar-02 21:19
hkl26-Mar-02 21:19 
GeneralPlease help!! Create a thread.. Pin
hkl26-Mar-02 18:13
hkl26-Mar-02 18:13 
GeneralRe: Please help!! Create a thread.. Pin
26-Mar-02 19:26
suss26-Mar-02 19:26 
GeneralRe: Please help!! Create a thread.. Pin
hkl26-Mar-02 19:33
hkl26-Mar-02 19:33 
GeneralRe: Please help!! Create a thread.. Pin
Jon Hulatt26-Mar-02 22:26
Jon Hulatt26-Mar-02 22:26 
QuestionMenuBar, how? Pin
MaTrIX2k226-Mar-02 17:31
MaTrIX2k226-Mar-02 17:31 
AnswerRe: MenuBar, how? Pin
Mazdak26-Mar-02 19:26
Mazdak26-Mar-02 19:26 
GeneralReading/Writing LNK files Pin
Lonnie26-Mar-02 16:50
Lonnie26-Mar-02 16:50 
GeneralRe: Reading/Writing LNK files Pin
alex.barylski26-Mar-02 16:59
alex.barylski26-Mar-02 16:59 
GeneralRe: Reading/Writing LNK files Pin
PJ Arends26-Mar-02 18:50
professionalPJ Arends26-Mar-02 18:50 
GeneralCustom toolbar's Pin
alex.barylski26-Mar-02 16:43
alex.barylski26-Mar-02 16:43 
GeneralRe: Custom toolbar's Pin
Shog926-Mar-02 18:02
sitebuilderShog926-Mar-02 18:02 
GeneralDebugging Recursive functions Pin
John Cruz26-Mar-02 16:38
John Cruz26-Mar-02 16:38 
GeneralRe: Debugging Recursive functions Pin
Paul M Watt26-Mar-02 16:44
mentorPaul M Watt26-Mar-02 16:44 
GeneralInput from tablet Pin
26-Mar-02 15:46
suss26-Mar-02 15:46 
GeneralCannot open ClassWizard???!!!!!! Pin
ChiYung26-Mar-02 13:41
ChiYung26-Mar-02 13:41 
GeneralRe: Cannot open ClassWizard???!!!!!! Pin
Chris Maunder26-Mar-02 17:33
cofounderChris Maunder26-Mar-02 17:33 

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.