added output of connection info
added correct send output