sending a matrix via TCP IP