Click here to Skip to main content
15,913,773 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Finding the Connection speed ........ Pin
Anilkumar K V23-Jan-07 1:03
Anilkumar K V23-Jan-07 1:03 
AnswerRe: Finding the Connection speed ........ Pin
rp_suman24-Jan-07 17:47
rp_suman24-Jan-07 17:47 
QuestionIs it possible to custom_draw the chevron button on the CRebar? Pin
benben22-Jan-07 16:38
benben22-Jan-07 16:38 
QuestionNonBlocking Client Socket - Connection Status Pin
ScotDolan22-Jan-07 10:57
ScotDolan22-Jan-07 10:57 
AnswerRe: NonBlocking Client Socket - Connection Status Pin
Mark Salsbery22-Jan-07 11:06
Mark Salsbery22-Jan-07 11:06 
GeneralRe: NonBlocking Client Socket - Connection Status Pin
ScotDolan22-Jan-07 11:21
ScotDolan22-Jan-07 11:21 
GeneralRe: NonBlocking Client Socket - Connection Status Pin
Mark Salsbery22-Jan-07 11:41
Mark Salsbery22-Jan-07 11:41 
GeneralRe: NonBlocking Client Socket - Connection Status Pin
ScotDolan22-Jan-07 12:04
ScotDolan22-Jan-07 12:04 
Thanks Mark, that seem to work! I found in the MSDN that a FD_CONNECT error can be used to extract more information but, i am have not had success getting that information. I am guessing that FD_CONNECT_BIT is the indexing for the 10 array element of iErrorCode. Where can i find the other meanings of the array elements.

Additional error codes can be set when an application window receives a message. This error code is extracted from the lParam in the reply message using the WSAGETSELECTERROR macro. Possible error codes for each network event are listed in the following table.

Event: FD_CONNECT

Error code Meaning
WSAEAFNOSUPPORT Addresses in the specified family cannot be used with this socket.
WSAECONNREFUSED The attempt to connect was rejected.
WSAENETUNREACH The network cannot be reached from this host at this time.
WSAEFAULT The namelen parameter is invalid.
WSAEINVAL The socket is already bound to an address.
WSAEISCONN The socket is already connected.
WSAEMFILE No more file descriptors are available.
WSAENOBUFS No buffer space is available. The socket cannot be connected.
WSAENOTCONN The socket is not connected.
WSAETIMEDOUT Attempt to connect timed out without establishing a connection.





Scott Dolan
Jernie Corporation
Engineering & Manufacturing
Software, Hardware, & Enclosures

GeneralRe: NonBlocking Client Socket - Connection Status [modified] Pin
Mark Salsbery22-Jan-07 12:11
Mark Salsbery22-Jan-07 12:11 
GeneralRe: NonBlocking Client Socket - Connection Status Pin
Mark Salsbery22-Jan-07 12:15
Mark Salsbery22-Jan-07 12:15 
GeneralRe: NonBlocking Client Socket - Connection Status Pin
ScotDolan23-Jan-07 4:21
ScotDolan23-Jan-07 4:21 
GeneralRe: NonBlocking Client Socket - Connection Status Pin
Mark Salsbery23-Jan-07 8:16
Mark Salsbery23-Jan-07 8:16 
GeneralRe: NonBlocking Client Socket - Connection Status Pin
Mark Salsbery22-Jan-07 13:25
Mark Salsbery22-Jan-07 13:25 
GeneralRe: NonBlocking Client Socket - Connection Status Pin
Mike O'Neill22-Jan-07 13:20
Mike O'Neill22-Jan-07 13:20 
GeneralRe: NonBlocking Client Socket - Connection Status Pin
Mark Salsbery22-Jan-07 13:23
Mark Salsbery22-Jan-07 13:23 
GeneralRe: NonBlocking Client Socket - Connection Status Pin
Mike O'Neill22-Jan-07 15:12
Mike O'Neill22-Jan-07 15:12 
GeneralRe: NonBlocking Client Socket - Connection Status Pin
Mark Salsbery23-Jan-07 8:18
Mark Salsbery23-Jan-07 8:18 
QuestionUsing Adobe Acrobat to open a .PDF Pin
TheDelChop22-Jan-07 10:32
TheDelChop22-Jan-07 10:32 
AnswerRe: Using Adobe Acrobat to open a .PDF Pin
CPallini22-Jan-07 10:38
mveCPallini22-Jan-07 10:38 
AnswerRe: Using Adobe Acrobat to open a .PDF Pin
ThatsAlok22-Jan-07 18:49
ThatsAlok22-Jan-07 18:49 
QuestionCreating a Bitmap output without screen capture. Pin
u6ik22-Jan-07 9:24
u6ik22-Jan-07 9:24 
QuestionRe: Creating a Bitmap output without screen capture. Pin
David Crow22-Jan-07 9:39
David Crow22-Jan-07 9:39 
AnswerRe: Creating a Bitmap output without screen capture. Pin
CPallini22-Jan-07 9:42
mveCPallini22-Jan-07 9:42 
QuestionRe: Creating a Bitmap output without screen capture. Pin
Hamid_RT22-Jan-07 17:39
Hamid_RT22-Jan-07 17:39 
AnswerRe: Creating a Bitmap output without screen capture. Pin
u6ik25-Jan-07 3:09
u6ik25-Jan-07 3:09 

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.