Closes the socket and frees the space in the file descriptor table. The port may not be freed immediately.
further arguments passed to or from other methods.
logical indicating success or failure
Compiling in support for sockets was optional prior to R 3.3.0: see
capabilities("sockets") to see if it is available.