Revised wording, etc

This commit is contained in:
Justin Ethier 2021-04-02 16:16:35 -04:00
parent 016a8e3e19
commit add00a7bae

View file

@ -97,8 +97,9 @@ The created socket may not be closed automatically so it is users' responsibilit
# socket?
socket? object -> boolean
Returns #t if given object is socket object. Otherwise #f.
(socket? object) -> boolean
Returns `#t` if given `object` is socket object. Otherwise `#f`.
# socket-accept
@ -112,6 +113,7 @@ Wait for an incoming connection request, and returns a fresh connected client so
Sends a binary data block to a socket and returns the sent data size.
`flags` may specify the procedure's behaviour.
If the `flags` is omitted, the default value must be the result of following form:
(message-type none)
@ -122,7 +124,8 @@ If the `flags` is omitted, the default value must be the result of following for
Receives a binary data block from a socket. If zero length bytevector is returned, it means the peer connection is closed.
`flags` may specify the procedure's behaviour.
If the `flags` is omitted, the default value must be the result of following form;
If the `flags` is omitted, the default value must be the result of following form:
(message-type none)