-
Infinite loop
this code works in UNIX, and im trying to convert it into a windows program. so anyways when i execute the function
void do_commands(FILE *input) it goes into an infinite loop.
in the main program we call it like this
Code:
do_commands(stdin);
and then it goes into an infinite loop, I dont understand why.
the code is here in this site once again:
http://sourcepost.sytes.net/sourcevi...ource_id=14723
the function is on lines 00220: to 00390:
a lot of it is documentation.
also when it hits the never ending loop, it keeps outputing
send() failed with error 10053.
hope someone can help me.
-
I got it to work. So nevermind