home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.protocols.tcp-ip.ibmpc
- Path: sparky!uunet!spool.mu.edu!sdd.hp.com!elroy.jpl.nasa.gov!decwrl!csus.edu!netcom.com!gtynen
- From: gtynen@netcom.com (Gerard Tynen)
- Subject: gethostbyname() in TSR under Sun PC-NFS
- Message-ID: <1993Jan28.215931.3024@netcom.com>
- Organization: Netcom - Online Communication Services (408 241-9760 guest)
- Date: Thu, 28 Jan 1993 21:59:31 GMT
- Lines: 22
-
- I'm writing a TSR for some of the socket functions in my application
- so that they do not need to be aware of what TCP/IP is in place on the
- machine. I have been succesful with Novell's LWP and FTP's TCP/IP.
- However, with Sun's PCNFS, I have been unable to get the gethostbyname()
- function to work when called inside a TSR. This function works fine
- in the other socket implementations.
-
- gethostbyname() sets h_errno to NO_RECOVERY. If I do a gethostent() errno
- gets set to ENOMEM. This is under small and medium memory models. So I'm
- running out of memory, but how much memory could a gethostbyname() really
- need?
-
- Has anyone ever succeeded making gethostbyname() work in a TSR like this?
-
-
- --
- _________________________________
-
- --G. Tynen
-
- Internet: gtynen@interbase.borland.com
-
-