netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* TCP partial write
@ 2009-06-14 19:52 Paul Martin
  2009-06-15 17:09 ` Rick Jones
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Martin @ 2009-06-14 19:52 UTC (permalink / raw)
  To: netdev

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-06-15 17:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-14 19:52 TCP partial write Paul Martin
2009-06-15 17:09 ` Rick Jones
2009-06-15 17:26   ` Stephen Hemminger
2009-06-15 17:59     ` Rick Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).