Closes the read and write channels for the specified I/O handle
closef(port)Locates the specified port in the server socket listen table and closes it
$handle - an Object scalar containing a Sleep I/O reference handle.
port - the port number to stop listening for connections on
# overwrite data.txt $handle = openf(">data.txt"); println($handle, "this is some data."); closef($handle);