docs: port-number? and listen-port-number? require exact integers
This commit is contained in:
parent
863e29e827
commit
e8ba4462cc
|
@ -257,13 +257,13 @@ port returned by @racket[tcp-accept], @racket[tcp-connect],
|
|||
@racket[tcp-connect/enable-break]---@racket[#f] otherwise.}
|
||||
|
||||
@defthing[port-number? contract?]{
|
||||
Equivalent to @racket[(between/c 1 65535)].
|
||||
Equivalent to @racket[(integer-in 1 65535)].
|
||||
|
||||
@history[#:added "6.3"]{}
|
||||
}
|
||||
|
||||
@defthing[listen-port-number? contract?]{
|
||||
Equivalent to @racket[(between/c 0 65535)].
|
||||
Equivalent to @racket[(integer-in 0 65535)].
|
||||
|
||||
@history[#:added "6.3"]{}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user