TKEQSYZ7PZ4GBD6R4EOOE26TQ6VKXBXLYRLUUYWOOQ7SVXQSVETQC mut buf := []byte{len: 1024}if nbytes := sock.read(mut buf) {println('matrix $sock $nbytes bytes read')c <- string(buf)} else {println('matrix err')
mut reader := io.new_buffered_reader(reader: io.make_reader(sock))for {if line := reader.read_line() {c <- line} else {break}