I have recently installed a power distribution rail for my server rack that can take simple ASCII commands via either SSH or telnet. Can any of the Logic gurus point me in the right direction of how to approach the login/username requirements of writeclientsocket. I have in my initialisation module (with obvious obfuscations for obvious reasons:) ) [CODE]OpenClientSocket(1, '192.168.etc.etc', xx);[/CODE] Then in module InitSocket - [CODE]if ClientSocketConnected(1) then begin Format(Enlogic_SendString, username, #13#10); WriteClientSocket(1, Elogic_SendString); ReadClientSocket(1, Elogic_Reply, ''); logmessage(Elogic_Reply); Delay(5); Format(Elogic_SendString, pass, #13#10); WriteClientSocket(1, Elogic_SendString); ReadClientSocket(1, Elogic_Reply, ''); logmessage(Elogic_Reply); {send test code to switch outlet 5 off and to ensure login has worked} WriteClientSocket(1, 'rack 1 outlet 5 off'); DisableModule("InitSocket"); end else begin logmessage('GET HELP BEFORE HEAD EXPLODES'); end;[/CODE] But it never logs in and the logs show what is received if I was to log into the unit via PuTTy - [CODE]6/22/2016 8:12:42 PM Logic : User Name : 6/22/2016 8:12:47 PM Logic : ???? [/CODE] Then nothing so I can only assume it has rejected the login.