Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!cec2!news From: jyp@wucs1.wustl.edu (Jerome Yvon Plun) Newsgroups: comp.sys.mac.comm Subject: Strange behavior of MacTCP Keywords: MacTCP Message-ID: <1990Aug20.205541.6910@cec1.wustl.edu> Date: 20 Aug 90 20:55:41 GMT Sender: news@wucs1.wustl.edu (USENET News System) Reply-To: jyp@wucs1.wustl.edu (Jerome Yvon Plun) Organization: Washington University, St. Louis MO Lines: 20 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