Close

Close[obj]

closes a stream or socket.

Details

Examples

Basic Examples  (2)

Open a stream:

Read from the stream object:

Close the stream:

Connect to a socket:

Write a simple request and read some of the response:

Close the socket:

Introduced in 1988
 (1.0)
 |
Updated in 2017
 (11.2)