print SOCKET "Hi there, client!\r\n"; # WRONG print SOCKET "Hi there, client!\015\012"; # RIGHT <- also wrong! #### print SOCKET "Hi there, client!\n"; #WORKS, on Unix or Windows!! #sends CR/LF: \015\012