[comp.sys.mac.comm] Strange behavior of MacTCP

jyp@wucs1.wustl.edu (Jerome Yvon Plun) (08/21/90)

I have the following problem with MaacTCP concerning transfert of data between
a MacIIfx with an Ethernet board and a Unix machine (Silicon Graphics):

  I have a buffer of N characters which pointer I store in the wds in 
  combination with the length (N) but it is sent as a block of N-2 and 
  a block of 1 character (the last one).  The next to last character is lost.
  I am reading N characters on the Unix side but only N-2 are actually there
  (no garbage, no trailing zeros).

  The only way I have found to solve that is to specify a size of N+2 and 
  just my N characters are transmitted.

Has anybody witnessed this problem before and found a cure for it?

Thanks.  Jerome

Jerome Plun              // Tell me why is it so hard to say
Dept of Computer Science // Brother don't you walk away
Washington University    //
St. Louis, Mo            // Hooters