Newsgroups: comp.sys.mac.comm Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!sharkey!msuinfo!midway!oddjob!rfl From: rfl@oddjob.uchicago.edu (Bob Loewenstein) Subject: TCPRcv call in MacTCP Message-ID: <1990Jul14.024933.11241@midway.uchicago.edu> Sender: news@midway.uchicago.edu (News Administrator) Reply-To: rfl@oddjob.UChicago.EDU () Organization: U of Chicago - Astronomy & Astrophysics Date: Sat, 14 Jul 90 02:49:33 GMT I have a question I hope someone can answer concerning an asynchronous TCPRcv call in MacTCP. I have a connection and start a TCPRcv with a Command Timeout of 0 (infinite). How do I abort this call in progress? The only way I can see is for the sending machine to close the connection. When the user quits the program, I would like to close the connection, but can't since the command is still in progress. I temporarily have my code working where the timeout is much shorter, say a few seconds, and a watchdog reconnects when the call completes. If I want to close the connection, my abort call waits until the call completes on the short timeout and all works ok. However, there must be a way to abort on an infinite timeout.