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...
Type: Posts; User: redemption
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...
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
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...
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
*...