> write "USER" && user to socket server try: write "USER" && user & CRLF to socket server remember you need to send the CRLF at the end of every command (just like SMTP)..