This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients neologix, pklanke, vstinner, yselivanov
Date 2017-07-04.15:03:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1499180623.51.0.689848502372.issue30844@psf.upfronthosting.co.za>
In-reply-to
Content
http://man7.org/linux/man-pages/man7/tcp.7.html



   Sockets API
       TCP provides limited support for out-of-band data, in the form of (a
       single byte of) urgent data.  In Linux this means if the other end
       sends newer out-of-band data the older urgent data is inserted as
       normal data into the stream (even when SO_OOBINLINE is not set).
       This differs from BSD-based stacks.

       Linux uses the BSD compatible interpretation of the urgent pointer
       field by default.  This violates RFC 1122, but is required for
       interoperability with other stacks.  It can be changed via
       /proc/sys/net/ipv4/tcp_stdurg.

       It is possible to peek at out-of-band data using the recv(2) MSG_PEEK
       flag.

       Since version 2.4, Linux supports the use of MSG_TRUNC in the flags
       argument of recv(2) (and recvmsg(2)).  This flag causes the received
       bytes of data to be discarded, rather than passed back in a caller-
       supplied buffer.  Since Linux 2.4.4, MSG_TRUNC also has this effect
       when used in conjunction with MSG_OOB to receive out-of-band data.
History
Date User Action Args
2017-07-04 15:03:43vstinnersetrecipients: + vstinner, neologix, yselivanov, pklanke
2017-07-04 15:03:43vstinnersetmessageid: <1499180623.51.0.689848502372.issue30844@psf.upfronthosting.co.za>
2017-07-04 15:03:43vstinnerlinkissue30844 messages
2017-07-04 15:03:43vstinnercreate