i have done networking programming for a while, and i have never run across that before. thank you so much, you have just saved me a lot of development time!
-=- adam grossman On Sun, 2010-04-04 at 22:34 +0200, PMHager wrote: > Adam Grossman wrote: > > thanks for the info, but this is on linux. > > The socket interface is almost the same on linux: > > #include <sys/socket.h> > > int hSocket; > int dwTimeout=1000; // milliseconds > > setsockopt(hSocket,SOL_SOCKET,SO_RCVTIMEO,(void*)&dwTimeout,sizeof dwTimeout); > setsockopt(hSocket,SOL_SOCKET,SO_SNDTIMEO,(void*)&dwTimeout,sizeof > dwTimeout); > > [http://linux.die.net/man/3/setsockopt] > > Peter-Michael > > -- > > Peter-Michael Hager - acm senior - HAGER-ELECTRONICS GmbH - Germany > > > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > User Support Mailing List openssl-users@openssl.org > Automated List Manager majord...@openssl.org ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org