socket-input-port

[procedure] socket-input-port socket

[procedure] socket-output-port socket

Gauche: returns an input port or an output port associated to the socket. See make-client-socket, make-server-socket, make-server-sockets?.