How to set SO_RECVTIMO in kernel sockets
anand.vt_at_gmail.com
Date: 02/15/05
- Next message: Michael Kerrisk: "Re: pseudo terminals linux 2.4.18 or .20"
- Previous message: Michael Schnell: "Re: IPC between tasks in kernel"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 15 Feb 2005 00:39:15 -0800
Hi There
I am working on Kernel sockets
I am trying to set receive time out for the tcp sockets
The code that I have written is as follows
sock_setsockopt(sock,SOL_SOCKET,SO_RECVTIMO,(char *)&tv,sizeof(tv));
But this is not working ....
can any one please help in getting rid of this problem
Thanks in Advance
Anand
- Next message: Michael Kerrisk: "Re: pseudo terminals linux 2.4.18 or .20"
- Previous message: Michael Schnell: "Re: IPC between tasks in kernel"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]