From: Kacper Borodziuk Date: 2012-05-15T04:25:06+09:00 Subject: Client-Server Multiline 'gets' problem Hello. I have a slight problem with my client server application. I don't know how I am supose to receive a multi-line string by either of the sides. At the moment my server waits until I input a command on the client and translates it to a command line command as well as assigns the output of said command to a var and then sends it back to the client. As long as the output is in single line everything is fine, but when I call for example dir, only output I get is first line of the dir output. My question is how can i send multiple lines if text across my server(standard TCPSocket) or how can i chop up my output to single lines? Thanks for your time -- Posted via http://www.ruby-forum.com/.