Search:

Type: Posts; User: redemption

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    2,148

    also OT but i'm also doing an OS course at my uni...

    also OT but i'm also doing an OS course at my uni (NUS)

    anyway, i found the man pages really quite useful (contrary to 'popular' belief ;))... do a man stuffyoudunget like man semget if there's...
  2. Replies
    2
    Views
    1,936

    oops :D i forgot to post the question heh i...

    oops :D

    i forgot to post the question heh

    i meant to ask whether i'm using timeval correctly to compute the time elapsed (as in whether my code is correct)

    thanks
  3. Replies
    0
    Views
    1,754

    is this the right way to setsockopt()?

    i'm trying to use setsockopt() to turn off Nagle's algorithm and to set the send buffer to zero... is the code i'm using

    below correct? and where should i place this code - after a socket() or...
  4. Replies
    2
    Views
    1,936

    computing time elapsed?

    ok i looked thru the glibc manual and found the timeval struct... the code i've come up with is below:



    /**
    * this function is for computing the time difference between timeval x and y
    *...
Results 1 to 4 of 4