[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bash sockets: printf \x0a does TCP fragmentation
From: |
dirk+bash |
Subject: |
Re: bash sockets: printf \x0a does TCP fragmentation |
Date: |
Sat, 22 Sep 2018 12:57:20 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 |
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, (continued)
- Re: bash sockets: printf \x0a does TCP fragmentation, Bob Proulx, 2018/09/22
- Re: bash sockets: printf \x0a does TCP fragmentation, dirk+bash, 2018/09/22
- Re: bash sockets: printf \x0a does TCP fragmentation, Bob Proulx, 2018/09/22
- Re: bash sockets: printf \x0a does TCP fragmentation, Chet Ramey, 2018/09/23
- Re: bash sockets: printf \x0a does TCP fragmentation, Bob Proulx, 2018/09/23
- Re: bash sockets: printf \x0a does TCP fragmentation, Bob Proulx, 2018/09/23
- Re: bash sockets: printf \x0a does TCP fragmentation, Chet Ramey, 2018/09/23
- Re: bash sockets: printf \x0a does TCP fragmentation, dirk+bash, 2018/09/25
- Re: bash sockets: printf \x0a does TCP fragmentation, Chet Ramey, 2018/09/25
- Re: bash sockets: printf \x0a does TCP fragmentation, Greg Wooledge, 2018/09/25
- Re: bash sockets: printf \x0a does TCP fragmentation, dirk+bash, 2018/09/25
- Re: bash sockets: printf \x0a does TCP fragmentation, Robert Elz, 2018/09/22