home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / rec / games / mud / misc / 1728 < prev    next >
Encoding:
Internet Message Format  |  1992-12-24  |  678 b 

  1. Path: sparky!uunet!paladin.american.edu!howland.reston.ans.net!wupost!spool.mu.edu!olivea!apple!TIS.COM!mjr
  2. From: mjr@TIS.COM (Marcus J. Ranum)
  3. Newsgroups: rec.games.mud.misc
  4. Subject: Re: Note to any fellow DikuMUD coders...
  5. Message-ID: <9212241834.AA23599@TIS.COM>
  6. Date: 24 Dec 92 18:34:17 GMT
  7. References: <3331@bsu-cs.bsu.edu> <1992Dec24.114107.18992@meiko.com>
  8. Sender: usenet@Apple.COM
  9. Reply-To: mjr@TIS.COM
  10. Organization: Trusted Informations Systems, Inc.
  11. Lines: 7
  12.  
  13. >    sprintf (currentConnectId, "%d.%d.%d.%d",
  14. >        foo.sa_data [2] & 0xFF, foo.sa_data [3] & 0xFF,
  15. >        foo.sa_data [4] & 0xFF, foo.sa_data [5] & 0xFF) ;
  16.  
  17.     What is this vomit? Use inet_ntoa().
  18.  
  19. mjr.
  20.