i can send a line of text, but when i press the SEND button again i get an error.

can somebody give me an example on how i can keep sending text to my remote host.

i think my problem is i have to close the connection, but i can't work it out.

thanx