1. first step: I need to connect to a server
2. second step: create a string of data and send count length
3. third step: wait for the server response ">"
4. fourth step: send data
5. fifth step: to close connection
question, as in "espbasic" perform the first and the fifth step