Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!ficc!ihsan From: ihsan@ficc.ferranti.com (jaleel ihsan) Newsgroups: comp.protocols.tcp-ip Subject: Re: timimg-out a socket read... AND THE ANSWER IS ... Message-ID: Date: 29 Jun 90 21:27:57 GMT References: <1475@excelan.COM> Organization: Ferranti International Controls Corporation Lines: 52 ... do something like this (info. provided courtesy of ted@Ultra.com): s = socket(); connect(s,..) timeval.tv_sec = 15; /* set timeout to 15 seconds */ timeval.tv_usec = 0; rmask = 1<