search for: inmess

Displaying 3 results from an estimated 3 matches for "inmess".

2020 May 11
2
Segfault on read.socket with long message
...cket on port %d",port) }) repeat { ## Input a hunk of stuff up to a blank line. output <- character() repeat { inlen <- read.socket(sock,loop=TRUE) flog.trace("Got message of length %s",inlen) if (inlen=="quit") break inmess <- fromJSON(read.socket(sock,as.integer(inlen)),false) outmess <- doProcess(inmess) output <- toJSON(outmess) flog.trace("Sending message of length %s",nchar(output)) write.socket(sock,paste(nchar(output),"\n")) write.socket(sock,outpu...
2020 May 12
1
Segfault on read.socket with long message
...??? ## Input a hunk of stuff up to a blank line. >> ??? output <- character() >> ??? repeat { >> ????? inlen <- read.socket(sock,loop=TRUE) >> ????? flog.trace("Got message of length %s",inlen) >> ????? if (inlen=="quit") break >> ????? inmess <- fromJSON(read.socket(sock,as.integer(inlen)),false) >> ????? outmess <- doProcess(inmess) >> ????? output <- toJSON(outmess) >> ????? flog.trace("Sending message of length %s",nchar(output)) >> ????? write.socket(sock,paste(nchar(output),"\n")...
2020 May 12
0
Segfault on read.socket with long message
...}) > ? repeat { > ??? ## Input a hunk of stuff up to a blank line. > ??? output <- character() > ??? repeat { > ????? inlen <- read.socket(sock,loop=TRUE) > ????? flog.trace("Got message of length %s",inlen) > ????? if (inlen=="quit") break > ????? inmess <- fromJSON(read.socket(sock,as.integer(inlen)),false) > ????? outmess <- doProcess(inmess) > ????? output <- toJSON(outmess) > ????? flog.trace("Sending message of length %s",nchar(output)) > ????? write.socket(sock,paste(nchar(output),"\n")) > ????? wri...