home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / mac / hypercar / 3099 < prev    next >
Encoding:
Internet Message Format  |  1992-08-13  |  1.3 KB

  1. Path: sparky!uunet!ogicse!plains!news.u.washington.edu!biostr.washington.edu!kraig
  2. From: kraig@biostr.washington.edu (Kraig Eno)
  3. Newsgroups: comp.sys.mac.hypercard
  4. Subject: Re: MacTCP HyperCard Toolkit bug
  5. Message-ID: <1992Aug13.135046.1@biostr.washington.edu>
  6. Date: 13 Aug 92 20:57:23 GMT
  7. Article-I.D.: biostr.1992Aug13.135046.1
  8. Sender: news@u.washington.edu (USENET News System)
  9. Organization: University of Washington
  10. Lines: 19
  11.  
  12. lac@ecs.soton.ac.uk (Les Carr) writes:
  13.  
  14. >Help: the TCPRecvChars(connID,n) function wipes out any
  15. >characters past the first return! This didn't used to be a
  16. >problem ... 
  17.  
  18. >Are there any fixes? As far as I can see the source that
  19. >accompanies the toolkit doesn't mess around with the data.
  20. >Any advice? (I'm working around by using TCPRecvUpTo())
  21.  
  22. I only see this kind of problem when I interleave calls to TCPRecvChars()
  23. and TCPRecvUpTo(); if I use either one exclusively, they seem to work
  24. fine.  I wonder if they share some buffer in a mutually exclusive way.
  25. This isn't necessarily what's going on, but if you can get by with
  26. using only one for your application, it may save you headaches.
  27.  
  28. Kraig Eno, kraig@biostr.washington.edu
  29. "Instead of actually producing goods, American industry shifted to put an
  30. emphasis on the analysis of the process of producing goods." -- K. Reichard
  31.