setsockopt: SO_RCVTIMEO
Hi,
I am trying to set receive timeout on my raw socket but it keeps telling me "invalid argument". Is there something I'm missing here? Code:
int val = 0; |
Nevermind. It seems it takes a timeval as argument. :)
|
Code:
int val = 0; |
All times are GMT -5. The time now is 02:39 PM. |