Hi,

I want to implement a timeout using SO_RCVTIMEO using setsockopt().
Does anyone have some example on this in C/VC?.

I want to do this for the recv() command.

The receive timeout is 20 secs.

Thanks