Click here to Skip to main content
15,886,258 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Number of files and folders Pin
kelprinc13-Feb-06 1:11
kelprinc13-Feb-06 1:11 
QuestionClistCtrl - centralize image Pin
codepr11-Feb-06 22:43
codepr11-Feb-06 22:43 
AnswerRe: ClistCtrl - centralize image Pin
Gary R. Wheeler12-Feb-06 6:18
Gary R. Wheeler12-Feb-06 6:18 
GeneralRe: ClistCtrl - centralize image Pin
try8812-Feb-06 6:32
try8812-Feb-06 6:32 
GeneralRe: ClistCtrl - centralize image Pin
codepr12-Feb-06 21:09
codepr12-Feb-06 21:09 
GeneralRe: ClistCtrl - centralize image Pin
Gary R. Wheeler13-Feb-06 0:56
Gary R. Wheeler13-Feb-06 0:56 
QuestionFile transfer using sockets in VC++ Pin
rohini sharma11-Feb-06 22:13
rohini sharma11-Feb-06 22:13 
AnswerRe: File transfer using sockets in VC++ Pin
fearless stallion12-Feb-06 20:38
fearless stallion12-Feb-06 20:38 
Although WSAAsyncSelect can be called with interest in multiple events, the application window will receive a single message for each network event.

As in the case of the select function, WSAAsyncSelect will frequently be used to determine when a data transfer operation ( send or recv) can be issued with the expectation of immediate success. Nevertheless, a robust application must be prepared for the possibility that it can receive a message and issue a Windows Sockets 2 call that returns WSAEWOULDBLOCK immediately. For example, the following sequence of events is possible:


1.Data arrives on socket s; Windows Sockets 2 posts WSAAsyncSelect message
2.Application processes some other message
3.While processing, application issues an ioctlsocket(s, FIONREAD...) and notices that there is data ready to be read
4.Application issues a recv(s,...) to read the data
5.Application loops to process next message, eventually reaching the WSAAsyncSelect message indicating that data is ready to read
6.Application issues recv(s,...), which fails with the error WSAEWOULDBLOCK.

Other sequences are also possible.

I Hope this Helps..........;)

kss
General"Show In Taskbar"... Pin
code-frog11-Feb-06 17:02
professionalcode-frog11-Feb-06 17:02 
GeneralRe: "Show In Taskbar"... Pin
Michael Dunn11-Feb-06 18:17
sitebuilderMichael Dunn11-Feb-06 18:17 
QuestionChanging Special folders' location Pin
_kane_11-Feb-06 15:17
_kane_11-Feb-06 15:17 
AnswerRe: Changing Special folders' location Pin
Gavin Taylor12-Feb-06 14:02
professionalGavin Taylor12-Feb-06 14:02 
Questionstd::string and UNICODE Pin
PJ Arends11-Feb-06 13:58
professionalPJ Arends11-Feb-06 13:58 
AnswerRe: std::string and UNICODE Pin
George L. Jackson11-Feb-06 15:25
George L. Jackson11-Feb-06 15:25 
GeneralRe: std::string and UNICODE Pin
PJ Arends11-Feb-06 15:58
professionalPJ Arends11-Feb-06 15:58 
GeneralRe: std::string and UNICODE Pin
George L. Jackson11-Feb-06 16:15
George L. Jackson11-Feb-06 16:15 
GeneralRe: std::string and UNICODE Pin
George L. Jackson11-Feb-06 16:32
George L. Jackson11-Feb-06 16:32 
GeneralRe: std::string and UNICODE Pin
George L. Jackson11-Feb-06 16:39
George L. Jackson11-Feb-06 16:39 
GeneralRe: std::string and UNICODE Pin
PJ Arends11-Feb-06 18:47
professionalPJ Arends11-Feb-06 18:47 
GeneralRe: std::string and UNICODE Pin
Jörgen Sigvardsson11-Feb-06 22:26
Jörgen Sigvardsson11-Feb-06 22:26 
GeneralRe: std::string and UNICODE Pin
George L. Jackson12-Feb-06 3:46
George L. Jackson12-Feb-06 3:46 
AnswerRe: std::string and UNICODE Pin
Stephen Hewitt11-Feb-06 16:36
Stephen Hewitt11-Feb-06 16:36 
AnswerRe: std::string and UNICODE Pin
Rob Caldecott12-Feb-06 5:42
Rob Caldecott12-Feb-06 5:42 
QuestionCArray GROWING........ Pin
RockyJames11-Feb-06 11:04
RockyJames11-Feb-06 11:04 
AnswerRe: CArray GROWING........ Pin
John R. Shaw12-Feb-06 4:46
John R. Shaw12-Feb-06 4: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.