Close this socket

Property definitions

socket $ TCPServer :: close
	# Close this socket
	fun close
	do
		# FIXME unify with `SocketStream::close` when we can use qualified names

		if closed then return
		if native.close >= 0 then
			closed = true
		end
	end
lib/socket/socket.nit:278,2--287,4