Search:

Type: Posts; User: redcameron

Search: Search took 0.00 seconds.

  1. Replies
    8
    Views
    13,607

    So I'm not clear yet...when you say timeout to...

    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...
  2. Replies
    8
    Views
    13,607

    Heh, evil godzilla. So basically...I'm...

    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...
  3. Replies
    8
    Views
    13,607

    Hi there, Thanks for that lucid explanation...

    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...
  4. Replies
    8
    Views
    13,607

    Detecting socket closed

    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...
  5. Replies
    8
    Views
    19,861

    No you're still not understanding the issue....

    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...
  6. Replies
    8
    Views
    19,861

    Sorry of this sounds rude, I appreciate the help,...

    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...
  7. Replies
    8
    Views
    19,861

    Hmmm, it *does* seem to be blocking on select()...

    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...
  8. Replies
    8
    Views
    19,861

    I commented out the entire fgets part and still...

    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...
  9. Replies
    8
    Views
    19,861

    Multiplexing read socket and stdin

    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...
Results 1 to 9 of 9