make-client-socket

[procedure] make-client-socket hostname port-number

STk: creates a client socket. See also socket?, socket-host-name, socket-host-address, socket-local-address, socket-port-number, socket-input, socket-output, make-server-socket, socket-accept-connection, socket-shutdown, socket-down?, socket-dup, when-socket-ready.

This is called socket-client in some implementations.

[procedure] make-client-socket hostname port-number [line-buffered]

STklos: adds an optiona argument to STk's make-client-socket. The API set is slightly different. See socket?, socket-host-name, socket-host-address, socket-local-address, socket-port-number, socket-input, socket-output, make-server-socket, socket-accept, socket-shutdown, socket-client?, socket-server?

[procedure] make-client-socket domain args ...

[procedure] make-client-socket host port

[procedure] make-client-socket sockaddr

Gauche: creates a TCP client socket. This can be used to create both unix-domain and inet-domain socket. For inet domain, it tries both IPv6 and IPv4. See also make-socket?, socket?, socket-address?, socket-fd?, socket-status?, socket-input-port, socket-output-port, socket-close?, call-with-client-socket?, make-server-socket, make-server-sockets?, socket-bind?, socket-listen?, socket-accept, socket-connect?, socket-shutdown, socket-getsockname?, socket-getpeername?, socket-send?, socket-sendto?, socket-recv?, socket-recvfrom?, socket-getsockopt?, socket-setsockopt?.