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
and then it goes into an infinite loop, I dont understand why.Code:do_commands(stdin);
the code is here in this site once again:
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.