docs: port-number? and listen-port-number? require exact integers

This commit is contained in:
Philip McGrath 2020-08-31 15:44:28 -04:00 committed by Matthew Flatt
parent 863e29e827
commit e8ba4462cc

View File

@ -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"]{}
}