mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-19 21:59:17 +02:00
18 lines
889 B
Scheme
18 lines
889 B
Scheme
|
|
(define-library (chibi net)
|
|
(export sockaddr? address-info? get-address-info make-address-info
|
|
socket connect bind accept listen
|
|
with-net-io open-net-io make-listener-socket
|
|
address-info-family address-info-socket-type address-info-protocol
|
|
address-info-address address-info-address-length address-info-next
|
|
address-family/unix address-family/inet
|
|
socket-type/stream socket-type/datagram socket-type/raw
|
|
ip-proto/tcp ip-proto/udp
|
|
get-socket-option set-socket-option! level/socket
|
|
socket-opt/debug socket-opt/broadcast socket-opt/reuseaddr
|
|
socket-opt/keepalive socket-opt/oobinline socket-opt/sndbuf
|
|
socket-opt/rcvbuf socket-opt/dontroute socket-opt/rcvlowat
|
|
socket-opt/sndlowat)
|
|
(import (scheme) (chibi filesystem))
|
|
(include-shared "net")
|
|
(include "net.scm"))
|