set TCP PUSH option on socket?

Corrado Santoro csanto@REDACTED
Thu Jan 27 16:11:47 CET 2005


Gaspar Chilingarov wrote:
> there is PUSH option in tcp which forces OS write packet to network as 
> fast as possible after user called write function -- this is not the 
> same as TCP_NODELAY -- which ... well , this is a quote from RFC :)
> 
>   A sending TCP is allowed to collect data from the sending user and to
>   send that data in segments at its own convenience, until the push
>   function is signaled, then it must send all unsent data.  When a
>   receiving TCP sees the PUSH flag, it must not wait for more data from
>   the sending TCP before passing the data to the receiving process.

In the BSD socket library the PUSH flag is not an option but it is 
automatically handled by the kernels of sender and receiver machines. 
Why do you want to control it?

--Corrado

-- 
======================================================
Eng. Corrado Santoro, Ph.D.

University of Catania - Engineering Faculty
Department of Computer Science and
Telecommunications Engineering
Viale A. Doria, 6 - 95125 CATANIA (ITALY)

Tel: +39 095 7382380           Fax: +39 095 7382397
      +39 095 7382365
      +39 095 7382364

EMail: csanto@REDACTED
Personal Home Page:
             http://www.diit.unict.it/users/csanto

NUXI Home Page:
             http://nuxi.iit.unict.it
======================================================




More information about the erlang-questions mailing list