How can I transfer a collection of float values to a node socket​​?
In the case you are describing you can use the NodeSocketVector a socket. It is a built in NodeSocket.

class MyNode(Node):
    def init(self):
        self.outputs.new('NodeSocketVector', name="Vector")

    def get_output_vector_value(self):
        return self.inputs[0].default_value