From add00a7bae2e3f3e622cd77331f8d42ee353c59d Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Fri, 2 Apr 2021 16:16:35 -0400 Subject: [PATCH] Revised wording, etc --- docs/api/srfi/106.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/api/srfi/106.md b/docs/api/srfi/106.md index 43f489cd..17dc3525 100644 --- a/docs/api/srfi/106.md +++ b/docs/api/srfi/106.md @@ -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)