How to send data with a tcp server?