Charles.Forsyth20060303-partialeea662d19 years agoHistory
52 lines · 1.2 KB · Text
RawDownload
.TH FILTER-SLIP 2.SH NAMEslip \- SLIP data framing protocol.SH SYNOPSIS.EXinclude "filter.m"; slip := load Filter Filter->SLIPPATH; init:  fn();start: fn(param: string): chan of ref Rq;.EE.SH DESCRIPTION.I Slipprovides the SLIP data framing protocol described by RFC1055.The module is an implementation of the general data-processing module type.BR Filter ;see.IR filter (2)for details of that general interface..PP.B Initmust be called before any other operation of the module..PP.B Startbegins SLIP line encoding or decoding via the channel it returns,following the protocol of.IR filter (2)..I Paramis one of the two following strings:.TF encode.PD.TP.B encodeThe filter takes the block of data obtained by each.B Rq.Fillmessage, adds framing and escape characters as required,and returns the resulting data block in an.B Rq.Resultmessage..TP.B decodeThe filter operates on the data in.B Rq.Fillmessages as a single stream of bytes, providing an.B Rq.Resultmessage for each framed message found in the stream,with escape characters processed to retrieve the original data..SH SOURCE.B /appl/lib/slip.b.SH SEE ALSO.IR filter (2)