![]() | ![]() | ![]() | shutdown-socket-stream | ![]() |
| socket-stream direction | [Function] |
Purpose
Shut down (close) one direction of an open connection.
Package :portable-sockets
Module :portable-sockets
Arguments and values
socket-stream | A socket stream | |
direction | The keyword symbol :input :output |
See also
start-connection-server
open-connection
with-open-connection
Example
Tell the other end of a socket connection that we are done sending
output on the socket stream (send an end-of-file indication):
(shutdown-socket-stream socket-stream ':output)
Note
Connections should always be closed using
The GBBopen Project
![]() | ![]() | ![]() | shutdown-socket-stream | ![]() |