Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!wuarchive!decwrl!sgi!rpw3@rigden.wpd.sgi.com From: rpw3@rigden.wpd.sgi.com (Rob Warnock) Newsgroups: comp.protocols.tcp-ip Subject: Re: TCP Push? Message-ID: <70729@sgi.sgi.com> Date: 30 Sep 90 08:55:32 GMT References: <9009281442.AA26616@cssun.tamu.edu> Sender: guest@sgi.sgi.com Reply-To: rpw3@sgi.com (Rob Warnock) Organization: Silicon Graphics, Inc., Mountain View, CA Lines: 25 In article <9009281442.AA26616@cssun.tamu.edu> willis@CSSUN.TAMU.EDU (Willis Marti) writes: +--------------- | This has to be one of the novice questions, but I haven't been able to dig | out the answer. Programming under SunOS 4.1, using sockets and send and all | that, how can I tell the TCP to "push" the (possibly buffered) data out *now* | and not wait to piggyback anything.... +--------------- All "BSD 4.x"-derived TCPs (and I believe that includes Sun's) automatically set the "PUSH" bit on the last packet of any Unix "write()". That is, a write to a socket *is* a "write-and-push". There are too many applications that would break if this were not the case. -Rob ----- Rob Warnock, MS-9U/510 rpw3@sgi.com rpw3@pei.com Silicon Graphics, Inc. (415)335-1673 Protocol Engines, Inc. 2011 N. Shoreline Blvd. Mountain View, CA 94039-7311