Concept:Networking

Memorandom for network API of some implementations.

Ikarus

  • tcp-connect? host service
  • tcp-connect-nonblocking? host service
  • udp-connect? host service
  • udp-connect-nonblocking? host-name service-name
  • tcp-server-socket? port-number
  • tcp-server-socket-nonblocking? port-number
  • accept-connection? tcp-server
  • accept-connection-nonblocking? tcp-server
  • close-tcp-server-socket? tcp-server
  • register-callback? input-port thunk
  • register-callback? output-port thunk
  • register-callback? tcp-server thunk

Ypsilon

(socket)

  • call-with-socket? socket proc
  • make-client-socket node service . [ai-family ai-socktype ai-flag ai-protocol]
  • make-server-socket service . [ai-family ai-protocol]
  • shutdown-output-port? port
  • socket? obj
  • make-socket? node service ai-family ai-socktype ai-flag ai-protocol
  • socket-accept socket flags
  • socket-port? socket => <binary-input/output-port>
  • socket-send? socket buffer flags
  • socket-send? socket flags
  • socket-shutdown socket how
  • socket-close? socket
  • gethostname?

Gauche

Low-level API

  • make-socket? domain type &optional protocol
  • socket-fd? socket
  • socket-status? socket
  • socket-bind? socket address
  • socket-listen? socket backlog
  • socket-accept socket
  • socket-connect? socket address
  • socket-shutdown socket how
  • socket-getsockname? socket
  • socket-getpeername? socket
  • socket-send? socket msg &optional flags
  • socket-sendto? socket msg to-address &optional flags
  • socket-sendmsg? socket msg &optional flags
  • socket-recv!? socket buf &optional flags
  • socket-recvfrom!? socket buf addrs &optional flags
  • socket-recv? socket bytes &optional flags
  • socket-recvfrom? socket bytes &optional flags
  • socket-setsockopt? socket level option value
  • socket-getsockopt? socket level option rsize
  • inet-checksum? packet size
  • inet-string->address? string
  • inet-string->address!? string
  • inet-address->string? address protocol
  • sys-gethostbyname? name
  • sys-gethostbyaddr? addr proto
  • sys-getservbyname? name proto
  • sys-getservbyport? port proto
  • sys-getaddrinfo? nodename servname hints
  • sys-ntohs? integer
  • sys-ntohl? integer
  • sys-htons? integer
  • sys-htonl? integer

High-level API