connect to server an send some bytes tested successfully