Search:

Type: Posts; User: wirmius

Search: Search took 0.00 seconds.

  1. Thread: Stream delays.

    by wirmius
    Replies
    8
    Views
    1,046

    Thanks everyone, I got it fixed.

    Thanks everyone, I got it fixed.
  2. Thread: Stream delays.

    by wirmius
    Replies
    8
    Views
    1,046

    Errno of fsync is also one strange thing: -1 0 -...

    Errno of fsync is also one strange thing:
    -1 0 - Success
    is output for

    printf("%i %i - %s\n", fsync(rr->sock), errno, strerror(errno));

    P.S. I just tried to perform send command from another...
  3. Thread: Stream delays.

    by wirmius
    Replies
    8
    Views
    1,046

    Andurils idea about \n at the end seems to work...

    Andurils idea about \n at the end seems to work for printf, but still no luck with send. fsync(rr->sock) shows -1, but return value of send is 4 and no errno is set. I've been programming sockets...
  4. Thread: Stream delays.

    by wirmius
    Replies
    8
    Views
    1,046

    Stream delays.

    Hi everyone!
    My problem is that i have a function containing this:

    printf("text");
    send(rr->sock, "text", 4, 0);
    It runs in separate thread from the main function, rr->sock is...
Results 1 to 4 of 4