Ethernet client program question

Thank you, but no ending character on response and length is variable.