So I'm not clear yet...when you say timeout to mean a literal timeout what I would have set in my select statement? I don't have this set for a specific reason, to force my application to block...
Type: Posts; User: redcameron
So I'm not clear yet...when you say timeout to mean a literal timeout what I would have set in my select statement? I don't have this set for a specific reason, to force my application to block...
Heh, evil godzilla.
So basically...I'm probably so dumb that I need this explicitly stated. I can't assume that the server closed the connection but what you're getting at is, I'm safe if I just...
Hi there,
Thanks for that lucid explanation :-) I'm writing for Unix based systems in standard C.
Without repeating myself, here's another thread I created yesterday for another issue I had and...
This may be a super simple question, but for the life of me I can't find any sources to answer it on Google or I've read something that confused me.
I'm communicating with a server that requires I...
No you're still not understanding the issue. Either way, I've resolved it. If you're wondering what was wrong, I was setting my masks in the wrong place, select apparently modifies the list every...
Sorry of this sounds rude, I appreciate the help, but maybe you should re-read what I'm trying to accomplish here. I'm writing a small game application for the command-line which either reacts to...
Hmmm, it *does* seem to be blocking on select() because I put a printf() on my default switch case in case it reaches that point.
I'm using fgets to retrieve data that WILL have a new line no...
I commented out the entire fgets part and still nothing.
I'm not really understanding what you mean...heh. Can we simply it a bit? I don't want to not-block for stdin, but when I give it data it...
Hi there,
I'm having some trouble doing some multiplexing with my script. I'm trying to wait on data either from the socket or stdin but for some reason my code keeps blocking right at the select...