Check out the deblock option of TCPCLIENT. Deblock String x0D0A might be a useful addition ... -- bc
On Mon, Feb 14, 2011 at 11:46 AM, Paul Gilmartin <[email protected]>wrote: > On Feb 14, 2011, at 09:32, John P. Hartmann wrote: > > > How about reading the documentation? I think you are assuming that > > unix has records. OS records, that is. > > > Documentation for which stage? VAR? APPEND? TCPCLIENT? > > > On 14 February 2011 17:29, Paul Gilmartin <[email protected]> wrote: > >> My (only) input is connected to a TCPCLIENT stage. > >> > >> 'callpipe var dataline | append *.input: | *.output:' > >> > >> ... the result is unpredictable: the amount of data output > >> from the same input varies. Why? Is there a better way of > >> doing this? > >> > I recognize that the packet boundaries in a TCP/IP data strean > are unpredictable, but for my "amount" I was COUNTing characters, > which should not vary. > > Would setting a LINGER or KEEPALIVE option help? Would it > suffice to not sever the input to TCPCLIENT? > > Thanks, > gil >
