lithium\net\socket\Context::close()
Implements
lithium\net\Socket::close()
Closes the socket connection.
Returns
booleanSuccess.
Source
public function close() {
return !is_resource($this->_resource) || fclose($this->_resource);
}