cyclone/docs/api/srfi/106.md
2016-12-01 18:33:29 -05:00

2.2 KiB

SRFI 106 - Basic socket interface

The (srfi 106) library provides a basic socket interface.

See the SRFI document for more information.

Constructors and predicate

make-client-socket make-server-socket socket?

Socket operations

socket-accept socket-send socket-recv socket-shutdown socket-close

Port conversion

socket-input-port socket-output-port

Control feature

call-with-socket

Flag operations

address-family address-info socket-domain ip-protocol message-type shutdown-method socket-merge-flags socket-purge-flags

Constant values

*af-unspec* *af-inet* *af-inet6* *sock-stream* *sock-dgram* *ai-canonname* *ai-numerichost* *ai-v4mapped* *ai-all* *ai-addrconfig* *ipproto-ip* *ipproto-tcp* *ipproto-udp* *msg-peek* *msg-oob* *msg-waitall* *shut-rd* *shut-wr* *shut-rdwr*

make-client-socket

make-server-socket

socket?

socket-accept

socket-send

socket-recv

socket-shutdown

socket-close

socket-input-port

socket-output-port

call-with-socket

address-family

address-info

socket-domain

ip-protocol

message-type

shutdown-method

socket-merge-flags

socket-purge-flags

*af-unspec*

*af-inet*

*af-inet6*

*sock-stream*

*sock-dgram*

*ai-canonname*

*ai-numerichost*

*ai-v4mapped*

*ai-all*

*ai-addrconfig*

*ipproto-ip*

*ipproto-tcp*

*ipproto-udp*

*msg-peek*

*msg-oob*

*msg-waitall*

*shut-rd*

*shut-wr*

*shut-rdwr*