From e62f3bba13579adeeb76e9b07c34e411a7b9c1de Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Tue, 30 Jun 2009 13:14:40 +0000 Subject: [PATCH] doc custodian use of tcp-accept-evt svn: r15336 --- collects/scribblings/reference/networking.scrbl | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/collects/scribblings/reference/networking.scrbl b/collects/scribblings/reference/networking.scrbl index 64e918e35a..071ad00fe9 100644 --- a/collects/scribblings/reference/networking.scrbl +++ b/collects/scribblings/reference/networking.scrbl @@ -198,12 +198,14 @@ Returns @scheme[#t] if @scheme[v] is a @tech{TCP listener} created by @defproc[(tcp-accept-evt [listener tcp-listener?]) evt?]{ -Returns a @tech{synchronizable event} (see @secref["sync"]) that is -in a blocking state when @scheme[tcp-accept] on @scheme[listener] -would block. If the event is chosen in a synchronization, the result -is a list of two items, which correspond to the two results of +Returns a @tech{synchronizable event} (see @secref["sync"]) that is in +a blocking state when @scheme[tcp-accept] on @scheme[listener] would +block. If the event is chosen in a synchronization, the result is a +list of two items, which correspond to the two results of @scheme[tcp-accept]. (If the event is not chosen, no connections are -accepted.)} +accepted.) The ports are placed into the management of the custodian +that is the current custodian (see @secref["custodians"]) at the time that +@scheme[tcp-accept-evt] is called.} @defproc[(tcp-abandon-port [tcp-port tcp-port?]) void?]{