From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,cb6fa4594d308f7e,start X-Google-Attributes: gidf7344,public X-Google-Thread: f48e5,cb6fa4594d308f7e,start X-Google-Attributes: gidf48e5,public X-Google-Thread: 10963c,cb6fa4594d308f7e,start X-Google-Attributes: gid10963c,public X-Google-Thread: 1164f8,cb6fa4594d308f7e,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-05-05 00:05:36 PST Xref: gmd.de comp.sys.dec:7474 comp.sys.sgi:16433 comp.protocols.misc:1009 comp.os.vms:22981 Path: gmd.de!ira.uka.de!howland.reston.ans.net!zaphod.mps.ohio-state.edu!sdd.hp.com!sgiblab!munnari.oz.au!mel.dit.csiro.au!merlin!eedwsa.itwol.bhp.com.au!phil From: phil@eedwsa.itwol.bhp.com.au (Phil ) Newsgroups: comp.sys.dec,comp.sys.sgi,comp.protocols.misc,comp.os.vms Subject: Maximum Message Sizes Through Kinet API Date: 5 May 1993 06:24:58 GMT Organization: BHP Research - Melbourne Laboratories Sender: phil@eedwsa.itwol.bhp.com.au (Phil McMuffin ) Distribution: world Message-ID: <1s7mjq$fnt@merlin.resmel.bhp.com.au> NNTP-Posting-Host: eedwsa.itwol.bhp.com.au We are experiencing problems with sending large messages from KINET Decnet product to DEC VAX. We try to send API messages from a C-program but find that after ~500 bytes we get a terrible corruption, which is a repitition of the original ~500bytes again. We have checked the ethernet with a protocol analyser and have verified that this repitition is caused by a duplicate decnet packet being sent across the link. Changing the decnet packet size moves the point of corruption! The problem DOES NOT EXIST with small messages (of 200 bytes). Is there a maximum message size to be sent (in one hit) through Kinet? Below is the test case we are using to write data to remote VAX: To: :phil Subject: KiNet write This is the code fragment I am using. -------------------------------------------------------------------------------- length_sent = write ( data_link -> identity_agent , data_link -> text_buffer_out , data_link -> length_data ) ; if ( length_sent == -1 ) { timestamp ( stderr ) ; fprintf ( stderr , "KiNet send: %d: " , data_link -> identity_agent ) ; perror ( "write" ) ; fflush ( stderr ) ; } else if ( length_sent != data_link -> length_data ) { timestamp ( stderr ) ; fprintf ( stderr , "KiNet send: %d length data %d <> %d sent\n" , data_link -> identity_agent , data_link -> length_data , length_sent ) ; fflush ( stderr ) ; } -------------------------------------------------------------------------------- I have opened KiNet with "Unix strem I/O" which makes the file descriptor (identity agent) look like a normal fd. I added the second if test, and the length returned by write is the same as the length I asked to write (the message does not appear). A 700 bytes (data) is sent (762 bytes total), arriving on the VAX as {