[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <394b5e260906141252g56d4275k185230f724b842ac@mail.gmail.com>
Date: Sun, 14 Jun 2009 21:52:07 +0200
From: Paul Martin <srucnoc@...il.com>
To: netdev@...r.kernel.org
Subject: TCP partial write
Is it possible that a (non-blocking) TCP write(2) will write a number
of bytes not multiple of the machine word size? i.e., could a write
request for 4 bytes return 2?
Also is this an OS-dependent behavior or there is a spec for it? (I
could find atomic guarantees for pipes and datagram sockets but not
for TCP)
Thanks,
Paul
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists