Help on sockets

Ajit Rasiah A.J.Rasiah at massey.ac.nz
Wed Jan 23 14:05:17 AEST 1991


Hello!

Can anyone tell me how to use the setsockopt() system call in UNIX?
I want to use the SO_KEEPALIVE option but I don't know how to use the
last two parameters, namely optval and optlen. An example of its use
would be appreciated.

Please reply to A.J.Rasiah at massey.ac.nz

Thanks in advance.



More information about the Comp.lang.c mailing list