Forum Navigation
using text from a socket
Posted: 07/27/09 18:13:02char[] output(SocketConduit s) { char[64] a; int i= s.input.read (a);; char[] b = a[0..i]; Stdout(b); return b; }when I run this method, it prints out the response from the socket, but if I return the array and then print it out, the output is only symbols. any idea how I can alter this to make it work?