Thanks for any help,
Carl Nelson
cn9...@american.edu
setsockopt(sock, SOL_SOCKET, SO_RCVTIMEO, (char *)&timeout, sizeof(int));
this will set the recv timeout to 1/2 second (500 milliseconds)
Carl Nelson <car...@iname.com> wrote in article
<341AE870...@iname.com>...
use function select, set timeout in its parameter.
Xu Yifeng