home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / protocol / tcpip / 5260 < prev    next >
Encoding:
Text File  |  1992-11-20  |  1.1 KB  |  26 lines

  1. Newsgroups: comp.protocols.tcp-ip
  2. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!rsoft!mindlink!a2
  3. From: Frank@mindlink.bc.ca (Frank I. Reiter)
  4. Subject: SCO ODT, DNS queries within a C program
  5. Organization: MIND LINK! - British Columbia, Canada
  6. Date: Sat, 21 Nov 1992 02:05:08 GMT
  7. Message-ID: <17624@mindlink.bc.ca>
  8. Sender: news@deep.rsoft.bc.ca (Usenet)
  9. Lines: 15
  10.  
  11. I am currently writing some code to enable a C application to lookup MX
  12. records by calling res_mkquery() and res_send() under SCO ODT 2.0.  What I am
  13. seeing is that the first time we do it everything works as expected, but the
  14. second time the answer that comes back is much shorter and in the course of
  15. trying to parse it we dump core.
  16.  
  17. The arguments to res_mkquery() and res_send() are the same both times.
  18.  
  19. Has anyone else ever seen a problem like this?
  20.  
  21. Frank.
  22. --
  23. ___________________________________________________________________
  24. Frank I. Reiter                 Internet: Frank@mindlink.bc.ca
  25. MIND LINK! Communications Corp. Surrey, British Columbia, Canada
  26.