Click here to Skip to main content
15,910,411 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Function to pass an CArray or Structure.. Pin
basementman17-Jun-03 7:05
basementman17-Jun-03 7:05 
GeneralRe: Function to pass an CArray or Structure.. Pin
RobJones17-Jun-03 7:12
RobJones17-Jun-03 7:12 
GeneralRe: Function to pass an CArray or Structure.. Pin
peterchen17-Jun-03 7:12
peterchen17-Jun-03 7:12 
Generalnon-blocking mode in sockets Pin
User 988517-Jun-03 6:33
User 988517-Jun-03 6:33 
GeneralRe: non-blocking mode in sockets Pin
David Crow17-Jun-03 6:51
David Crow17-Jun-03 6:51 
GeneralRe: non-blocking mode in sockets Pin
User 988517-Jun-03 7:04
User 988517-Jun-03 7:04 
GeneralRe: non-blocking mode in sockets Pin
valikac17-Jun-03 7:46
valikac17-Jun-03 7:46 
GeneralRe: non-blocking mode in sockets Pin
User 988517-Jun-03 7:59
User 988517-Jun-03 7:59 
There has to be a pending read on the socket for IOCP to get notified. So I have an asynchronous read pending on the sockets that are added to the IOCP. Now, I do this with blocking mode sockets, and when a thread wakes up because of an activity on the socket, I used to do recv to get some more data. I don't want the recv call to block, but just return, if there is no more data. So, I want to convert the socket to non-blocking. Since I have never used it, I was wondering whether anyone had any experience with it.

Thomas


My article on a reference-counted smart pointer that supports polymorphic objects and raw pointers


modified 29-Aug-18 21:01pm.

GeneralRe: non-blocking mode in sockets Pin
valikac17-Jun-03 8:09
valikac17-Jun-03 8:09 
GeneralFile associations Pin
Rage17-Jun-03 6:09
professionalRage17-Jun-03 6:09 
GeneralVC++ crashes... Pin
Rage17-Jun-03 5:51
professionalRage17-Jun-03 5:51 
GeneralRe: VC++ crashes... Pin
John M. Drescher17-Jun-03 6:09
John M. Drescher17-Jun-03 6:09 
GeneralRe: VC++ crashes... Pin
Rage17-Jun-03 6:10
professionalRage17-Jun-03 6:10 
GeneralRe: VC++ crashes... Pin
AlexO17-Jun-03 6:10
AlexO17-Jun-03 6:10 
GeneralRe: VC++ crashes... Pin
Rage17-Jun-03 6:25
professionalRage17-Jun-03 6:25 
GeneralRe: VC++ crashes... Pin
AlexO17-Jun-03 6:36
AlexO17-Jun-03 6:36 
GeneralRe: VC++ crashes... Pin
John M. Drescher17-Jun-03 6:57
John M. Drescher17-Jun-03 6:57 
GeneralRe: VC++ crashes... Pin
Michael Dunn17-Jun-03 8:37
sitebuilderMichael Dunn17-Jun-03 8:37 
GeneralRe: VC++ crashes... Pin
Toni7817-Jun-03 19:17
Toni7817-Jun-03 19:17 
GeneralMulti-line listctrl Pin
pranavamhari17-Jun-03 4:51
pranavamhari17-Jun-03 4:51 
GeneralRe: Multi-line listctrl Pin
Iain Clarke, Warrior Programmer17-Jun-03 5:20
Iain Clarke, Warrior Programmer17-Jun-03 5:20 
GeneralAccelerator stored in DLL Pin
SD317-Jun-03 4:03
SD317-Jun-03 4:03 
GeneralRe: Accelerator stored in DLL Pin
basementman17-Jun-03 5:25
basementman17-Jun-03 5:25 
GeneralRe: Accelerator stored in DLL Pin
SD318-Jun-03 2:36
SD318-Jun-03 2:36 
GeneralRe: Accelerator stored in DLL Pin
Iain Clarke, Warrior Programmer17-Jun-03 5:46
Iain Clarke, Warrior Programmer17-Jun-03 5:46 

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.