Click here to Skip to main content
15,898,222 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: UuidFromString not creating GUID correctly - Help! Pin
Priya_Sundar10-Oct-07 19:43
Priya_Sundar10-Oct-07 19:43 
GeneralRe: UuidFromString not creating GUID correctly - Help! Pin
Nibu babu thomas10-Oct-07 19:47
Nibu babu thomas10-Oct-07 19:47 
GeneralRe: UuidFromString not creating GUID correctly - Help! Pin
Priya_Sundar10-Oct-07 20:34
Priya_Sundar10-Oct-07 20:34 
GeneralRe: UuidFromString not creating GUID correctly - Help! Pin
Nibu babu thomas10-Oct-07 20:37
Nibu babu thomas10-Oct-07 20:37 
GeneralRe: UuidFromString not creating GUID correctly - Help! Pin
Priya_Sundar10-Oct-07 21:07
Priya_Sundar10-Oct-07 21:07 
QuestionWhat is core dump ? Pin
Yashusid10-Oct-07 18:52
Yashusid10-Oct-07 18:52 
QuestionMessagebox problem Pin
Lakshmi_p10-Oct-07 18:41
Lakshmi_p10-Oct-07 18:41 
AnswerRe: Messagebox problem Pin
Sachinpatole10-Oct-07 19:18
Sachinpatole10-Oct-07 19:18 
AnswerRe: Messagebox problem Pin
Nibu babu thomas10-Oct-07 19:31
Nibu babu thomas10-Oct-07 19:31 
GeneralRe: Messagebox problem Pin
Naveen10-Oct-07 20:06
Naveen10-Oct-07 20:06 
GeneralRe: Messagebox problem Pin
Nibu babu thomas10-Oct-07 22:10
Nibu babu thomas10-Oct-07 22:10 
GeneralRe: Messagebox problem Pin
Lakshmi_p10-Oct-07 20:14
Lakshmi_p10-Oct-07 20:14 
QuestionHow to locate application folder? Pin
TooShy2Talk10-Oct-07 15:46
TooShy2Talk10-Oct-07 15:46 
AnswerRe: How to locate application folder? Pin
Naveen10-Oct-07 16:14
Naveen10-Oct-07 16:14 
GeneralRe: How to locate application folder? Pin
TooShy2Talk10-Oct-07 16:58
TooShy2Talk10-Oct-07 16:58 
AnswerRe: How to locate application folder? Pin
David Crow11-Oct-07 3:31
David Crow11-Oct-07 3:31 
QuestionPlease help me using ipl98library version 2.20 in Borland C++!!! Pin
Tien Manh10-Oct-07 15:35
Tien Manh10-Oct-07 15:35 
QuestionNeed local C++/WinMobile consulting help [modified] Pin
billsh10-Oct-07 14:51
billsh10-Oct-07 14:51 
QuestionWSAGetLastError() Pin
dellthinker10-Oct-07 14:51
dellthinker10-Oct-07 14:51 
QuestionRe: WSAGetLastError() Pin
David Crow11-Oct-07 3:30
David Crow11-Oct-07 3:30 
AnswerRe: WSAGetLastError() Pin
dellthinker11-Oct-07 5:22
dellthinker11-Oct-07 5:22 
GeneralRe: WSAGetLastError() Pin
David Crow11-Oct-07 5:33
David Crow11-Oct-07 5:33 
GeneralRe: WSAGetLastError() Pin
dellthinker11-Oct-07 7:23
dellthinker11-Oct-07 7:23 
QuestionRe: WSAGetLastError() Pin
David Crow11-Oct-07 7:34
David Crow11-Oct-07 7:34 
AnswerRe: WSAGetLastError() Pin
dellthinker11-Oct-07 15:37
dellthinker11-Oct-07 15:37 
DavidCrow wrote:
our question is really confusing. Do you have something akin to:

while (more_data_exists)
{
int nRet = send(...);
if (SOCKET_ERROR == nRet)
DWORD dwError = WSAGetLastError();
}


Ok let me be more specific. Im going to go step-by-step of what im trying to do here.

If a program that is 'connected' to a server all of a sudden gets disconnected for whatever reason it has to do on the server side, im trying to get it 'reconnect'. In order for me to do that im looking for whatever error WSAGetLastError might spit out. Compare that error with an if statement and do whatever is necessary to reconnect to the server. Understand me now?

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.