Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Mar 2001 16:43:26 -0800
From:      Lars Eggert <larse@ISI.EDU>
To:        net@FreeBSD.org
Subject:   Changing UDP select() behavior
Message-ID:  <3AAEBEAE.F823CB8E@isi.edu>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Hi,

I'm wondering if anyone has ever considered modifying the UDP behavior with
regard to selecting:

Currently, writing to a UDP socket either enqueues packets in the interface
queue (returning success), or drops them on the floor (returning ENOBUFS)
if the queue is full. Selecting-to-write on a UDP socket always succeeds,
never blocks.

I'm considering changing this, so that a select-to-write on a UDP socket
will block until queue space becomes available. (I don't think this would
violate UDP semantics, but is a big enough change to warrant a new sockopt
to enable it.)

Has this been considered/implemented in any OS? Does anyone see any serious
problems with it? Feedback greatly appreciated!

Lars
-- 
Lars Eggert <larse@isi.edu>                 Information Sciences Institute
http://www.isi.edu/larse/                University of Southern California
[-- Attachment #2 --]
0#	*H
010	+0	*H
00A#0
	*H
010	UZA10UWestern Cape10UDurbanville10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 1999.9.160
000824203008Z
010824203008Z0T10
UEggert1
0U*Lars10ULars Eggert10	*H
	
larse@isi.edu00
	*H
0\p9޻ H;v֐r∩6"C?mxfJf7I[3CF́L	I
-zHRVA怤2]0-bL)%X>nӅw0u0*+e!000L2uMyffBNUbNJJcdZ2s0U0
larse@isi.edu0U00U#0`fUXFa#Ì0
	*H
_3	F=%nWY-HXD9UOc6ܰwf@uܶNԄR?Pr}E1֮23mFhySwM_h|d yR=$P 00}0
	*H
010	UZA10UWestern Cape10U	Cape Town10U
Thawte Consulting1(0&UCertification Services Division1$0"UThawte Personal Freemail CA1+0)	*H
	personal-freemail@thawte.com0
990916140140Z
010915140140Z010	UZA10UWestern Cape10UDurbanville10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 1999.9.1600
	*H
0iZz]!#rLK~r$BRW{azr98e^eyvL>hput,O	1ArƦ]D.Mօ>lx~@эWs0FO7050U00U#0rIs4Uvr~wƲ0
	*H
kY1rr`HU{gapm¥7؝(V\uoƑlfq|ko!6-	-mƃRt\~
orzg,ksnΝc)	~U100010	UZA10UWestern Cape10UDurbanville10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 1999.9.16#0	+0	*H
	1	*H
0	*H
	1
010314004329Z0#	*H
	1w
}32ǰ3t)}!;0R	*H
	1E0C0
*H
0*H
0+0
*H
@0
*H
(0
	*H
z8lox|!w,I8vLeNn}_&l.4I`[82N3!4g$%4;4RfoT$}XlTQފo.[C@@+J9hCq]	

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3AAEBEAE.F823CB8E>