Networking Forums

Networking Forums > Computer Networking > Linux Networking > execution not as expected

Reply
Thread Tools Display Modes

execution not as expected

 
 
mangesh@interinfosystems.com
Guest
Posts: n/a

 
      03-13-2006, 04:52 AM
Hi ,
i am writing code which for reasons not known to me not executing line
by line

while(1)
{
read(acceptfd,input,sizeof(input));
int found = validate(input);
if(found) break; //------------------- 1
else continue ;
}

printf(" xxxxxxxxx "); //----------------------2

while(1)
{
printf("--IN WHILE INNER after break --");
//--------------------------3
int status = read(acceptfd,command,sizeof(command));
}

after breaking from 1 line 2 gets printed but line 3 dosen't .Any
solution /

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Expected speed with 50:1? Steve Broadband 6 09-26-2005 09:16 PM
Problem related public key based authentication and program execution Henrik J Linux Networking 0 06-25-2004 07:39 AM
Expected end of statement Eric Lommatsch Windows Networking 3 11-28-2003 06:22 PM
RH Linux 9 suspends application program execution for long periods Geoff Hungerford Linux Networking 1 11-14-2003 01:14 AM
What is expected throughput for 802.11G? Oliver Costich Wireless Internet 1 07-13-2003 06:15 AM



1 2 3 4 5 6 7 8 9 10 11