li3

NewsDocumentationVersionsPresentationsCommunityDevelopment
  • Documentation
  • Framework API (1.1.x)
  • lithium
  • net
  • socket
  • Context
  • close()

Contents

  • ../

lithium\net\socket\Context::close()

Implements lithium\net\Socket::close()
public method

Closes the socket connection.

Returns

boolean

Success.

Source

	public function close() {
		return !is_resource($this->_resource) || fclose($this->_resource);
	}
GitHub / Twitter / Reddit / Stack Overflow
Testimonial Image

This will fit excellently
into my very evil plan.

Pretty much everything is (c) 2009-2025 and beyond, the Union of RAD.