Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!gem.mps.ohio-state.edu!usc!snorkelwacker!spdcc!ftp!jbvb From: jbvb@ftp.COM (James Van Bokkelen) Newsgroups: comp.dcom.lans Subject: Re: FTP Software Summary: 32 native (not socket) descriptors easy, EADDRINUSE bug fixed in 2.04 Message-ID: <747@ftp.COM> Date: 26 Oct 89 18:04:26 GMT References: <1680@cod.NOSC.MIL> Organization: FTP Software Inc., Cambridge, MA Lines: 29 In article <1680@cod.NOSC.MIL>, neerma@cod.NOSC.MIL (Merle A. Neer) writes: > 1. If we do connect to a foreign socket where no server is > listening, subsequent connects to the same socket will > return "socket in use"......we want to keep trying until > it opens. This was a known problem in the v2.03 kernel, fixed in pl2 and later. My support people told this to someone at your site yesterday. > 2. We want to perform what FTP Software calls a "hard-close" > that is, force the connection closed regardless of > any required TCP-timeouts. The hard-close does not > work but the connection will time-out as usual. If you must use the SOCKET library, set the SO_LINGER option with "optval" pointing to a word of 0. Otherwise, use net_abort(). > 3. Maximum # of descriptors is limited to 20 on DOS... > we need 32. Can't be done with the SOCKET library (the sockets are mapped to DOS file handles, and MSC won't let you have more than 20 of them in a process; we will when MSC does). We recommend that you use the native library and "global" network descriptors, where 32 descriptors work just fine. -- James B. VanBokkelen 26 Princess St., Wakefield, MA 01880 FTP Software Inc. voice: (617) 246-0900 fax: (617) 246-0901