Wasnt sure where to post this but it uses php... help mods?

i can get the number of messages and connect to a telnet server so i say
top 1
and responds something along the lines of
-ERR protocol error 16
or something... not sure if thats exactly what i do but its the command to get the header of a message. does anyone know what it means?

i figured it out
it was because i didnt completely read the socket's responce so when i tried to write it was like woah!