开发者

Newline in Telnet server

开发者 https://www.devze.com 2023-02-10 15:57 出处:网络
I am writing a telnet server in Ruby. The problem I am now facing is that everything is printed on the sa开发者_运维问答me line on the client side and \\r\\n isn\'t working. Does anyone have a sugge

I am writing a telnet server in Ruby.

The problem I am now facing is that everything is printed on the sa开发者_运维问答me line on the client side and \r\n isn't working. Does anyone have a suggestion as to what I could do?


Not sure, but in PHP if carriage return is in single quotes it won't get transliterated.

Happy coding :)

0

精彩评论

暂无评论...
验证码 换一张
取 消