Next: srfi basic-socket spec const, Previous: srfi basic-socket spec control, Up: srfi basic-socket spec [Index]
The following bindings must be implemented as macros:
address-family, address-info, socket-domain,
ip-protocol, message-type and shutdown-method.
The following bindings are exported by the libraries (srfi :106)
and (srfi :106 socket).
Return a proper address family from the given ?name. Implementations must support at least following names and must have the described behaviour.
inetReturns *af-inet*.
inet6Returns *af-inet6*.
unspecReturns *af-unspec*.
Implementations may support more names such as unix or
local or other names.
Return merged address info flags from given ?name. Implementations must support at least following names and must have the described behaviour.
canonamecanonnameReturns *ai-canonname*.
numerichostReturns *ai-numerichost*.
v4mappedReturns *ai-v4mapped*.
allReturns *ai-all*.
addrconfigReturns *ai-addrconfig*.
Implementations may support more names.
Return socket domain flags from the given ?name. Implementations must support at least following names and must have the described behaviour.
streamReturns *sock-stream*.
datagramReturns *sock-dgram*.
Implementations may support more names.
Return ip-protocol flag from given ?name. Implementations must support at least following names and must have the described behaviour.
ipReturns *ipproto-ip*.
tcpReturns *ipproto-tcp*.
udpReturns *ipproto-udp*.
Implementations may support more names.
Return message type flag from given name.  The flag can be used
both by socket-recv and socket-send.  Implementations must
support at least following names and must have the described behaviour.
noneReturns no flag.
peekReturns *msg-peek*.
oobReturns *msg-oob*.
wait-allReturns *msg-waitall*.
Implementations may support more names.
Return shutdown method flags from given ?names. Implementations must support at least following names and must have the described behaviour.
readReturns *shut-rd*.
writeReturns *shut-wr*.
If shutdown-method is given both read and write,
then it must return *shut-rdwr*.
Merge given ?flags and returns a new flag.
Remove ?flag from ?base-flag if it exists and return a new flag.
Next: srfi basic-socket spec const, Previous: srfi basic-socket spec control, Up: srfi basic-socket spec [Index]