Click here to Skip to main content
15,904,348 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: LOGINREC problem...IN VISTA machine under VS-2008 Pin
Vetukuri Raju13-Oct-09 22:15
Vetukuri Raju13-Oct-09 22:15 
GeneralRe: LOGINREC problem...IN VISTA machine under VS-2008 Pin
«_Superman_»14-Oct-09 7:32
professional«_Superman_»14-Oct-09 7:32 
GeneralRe: LOGINREC problem...IN VISTA machine under VS-2008 Pin
Vetukuri Raju13-Oct-09 22:15
Vetukuri Raju13-Oct-09 22:15 
AnswerRe: LOGINREC problem...IN VISTA machine under VS-2008 Pin
Bram van Kampen13-Oct-09 13:09
Bram van Kampen13-Oct-09 13:09 
GeneralRe: LOGINREC problem...IN VISTA machine under VS-2008 Pin
Vetukuri Raju14-Oct-09 6:04
Vetukuri Raju14-Oct-09 6:04 
GeneralRe: LOGINREC problem...IN VISTA machine under VS-2008 Pin
Bram van Kampen14-Oct-09 10:20
Bram van Kampen14-Oct-09 10:20 
GeneralRe: LOGINREC problem...IN VISTA machine under VS-2008 Pin
Vetukuri Raju22-Oct-09 1:41
Vetukuri Raju22-Oct-09 1:41 
QuestionFacing problem with Sockets in Win2008 Pin
V K 213-Oct-09 4:26
V K 213-Oct-09 4:26 
Hi,
We are using raw sockets with IPPROTO_ICMP. We are facing problem in Win2008. When the network cable of the server machine is removed then Winsock api Select( ) is returning wrong value.Due to that we are observing behavior difference in Win2003 and Win2008.

We have the following code in our application.

int bread;
SOCKET sockRaw;
sockRaw = WSASocket(
AF_INET,
SOCK_RAW,
IPPROTO_ICMP,
NULL, 0,0);
//All socket connection and initialization code
fd_set set = {1,{sockRaw}};
timeval timeValue = {TIMEOUT_PERIOD_SEC, 0};
bread = select(NULL,&set,NULL,&set,&timeValue

If we remove the network cable of the server application ie., network failure then bread is 0 in Win2003, 1 in Win2008 . Due to this we are observing a behavior difference in the application in a particular scenario. What needs to be done so that bread is 0 even in Win2008 in case of network failure.

Any help would be appreciated.

Thanks..
QuestionCustomButton Pin
ratprita13-Oct-09 1:19
ratprita13-Oct-09 1:19 
AnswerRe: CustomButton Pin
CPallini13-Oct-09 1:37
mveCPallini13-Oct-09 1:37 
Questionservice program Pin
zon_cpp13-Oct-09 0:21
zon_cpp13-Oct-09 0:21 
AnswerRe: service program Pin
Richard MacCutchan13-Oct-09 0:29
mveRichard MacCutchan13-Oct-09 0:29 
AnswerRe: service program Pin
CPallini13-Oct-09 0:32
mveCPallini13-Oct-09 0:32 
AnswerRe: service program Pin
Anish C.V13-Oct-09 1:09
Anish C.V13-Oct-09 1:09 
AnswerRe: service program Pin
Rajesh R Subramanian13-Oct-09 2:44
professionalRajesh R Subramanian13-Oct-09 2:44 
AnswerRe: service program Pin
David Crow13-Oct-09 3:35
David Crow13-Oct-09 3:35 
AnswerRe: service program Pin
Hadi Dayvary13-Oct-09 10:16
professionalHadi Dayvary13-Oct-09 10:16 
QuestionExtracting data from the webpages using MFC Pin
NaveenHS13-Oct-09 0:12
NaveenHS13-Oct-09 0:12 
AnswerRe: Extracting data from the webpages using MFC Pin
CPallini13-Oct-09 0:29
mveCPallini13-Oct-09 0:29 
GeneralRe: Extracting data from the webpages using MFC Pin
NaveenHS13-Oct-09 0:35
NaveenHS13-Oct-09 0:35 
GeneralRe: Extracting data from the webpages using MFC Pin
kilt13-Oct-09 2:12
kilt13-Oct-09 2:12 
GeneralRe: Extracting data from the webpages using MFC Pin
CPallini13-Oct-09 2:23
mveCPallini13-Oct-09 2:23 
GeneralRe: Extracting data from the webpages using MFC Pin
Richard MacCutchan13-Oct-09 3:12
mveRichard MacCutchan13-Oct-09 3:12 
GeneralRe: Extracting data from the webpages using MFC Pin
Iain Clarke, Warrior Programmer13-Oct-09 4:43
Iain Clarke, Warrior Programmer13-Oct-09 4:43 
GeneralRe: Extracting data from the webpages using MFC Pin
Rajesh R Subramanian13-Oct-09 4:46
professionalRajesh R Subramanian13-Oct-09 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.