On 9/22/18 12:30 PM, Ilkka Virta wrote: > The coreutils printf seems to output 'foo\nbar\n' as a single write, though > (unless > it goes to the terminal, so the usual stdio buffering), so you might be able > to use > that. thx. Might be not that portable but we'll see. > In any case, if a TCP endpoint cares about getting full data packets within a > single > segment, I'd say it's broken. fully agree. But unfortunately it just comforts us :-) Keep in mind that the purpose of the tool is testing and if due to a bug it can't do that, were the ones being blamed or we need to do really strange workarounds to avoid '\x0a' in the first 8 bytes. Dirk
- Re: bash sockets: printf \x0a does TCP fragmentation Chet Ramey
- Re: bash sockets: printf \x0a does TCP fragmentation Bob Proulx
- Re: bash sockets: printf \x0a does TCP fragmentation dirk+bash
- Re: bash sockets: printf \x0a does TCP fragmentatio... Ilkka Virta
- Re: bash sockets: printf \x0a does TCP fragment... dirk+bash
- Re: bash sockets: printf \x0a does TCP fragmentatio... Bob Proulx
- Re: bash sockets: printf \x0a does TCP fragment... Chet Ramey
- Re: bash sockets: printf \x0a does TCP frag... Bob Proulx
- Re: bash sockets: printf \x0a does TCP... Bob Proulx
- Re: bash sockets: printf \x0a does... Chet Ramey
- Re: bash sockets: printf \x0a does TCP frag... dirk+bash
- Re: bash sockets: printf \x0a does TCP... Chet Ramey
- Re: bash sockets: printf \x0a does... dirk+bash
- Re: bash sockets: printf \x0a does... Greg Wooledge
- Re: bash sockets: printf \x0a does TCP fragmentatio... Robert Elz
