Hi, I have a socket connection where I do -socketConnection -writeLines and then wait for the server to send data through the socket. so I have to wait on a readLines.But when I say str<-readLines(con) it executes immediately and str gets nothing.what do i do for this? [[alternative HTML version deleted]]
On Sep 3, 2010, at 8:39 AM, rajeshj at cse.iitm.ac.in wrote:> > I have a socket connection where I do > -socketConnection > -writeLines > and then wait for the server to send data through the socket. so I > have to wait on a readLines.But when I say > str<-readLines(con) it executes immediately and str gets > nothing.what do i do for this?Have you looked at the penultimate example on the connections help page? -- David Winsemius, MD West Hartford, CT