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)