Displaying 3 results from an estimated 3 matches for "outmess".
Did you mean:
outlets
2020 May 11
2
Segfault on read.socket with long message
...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,output)
}
}
}
doProcess() is the payload, but it is not getting that...
2020 May 12
1
Segfault on read.socket with long message
...acter()
>> ??? 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,output)
>> ??? }
>> ? }
>> }...
2020 May 12
0
Segfault on read.socket with long message
...t; ??? 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,output)
> ??? }
> ? }
> }
>
> doProcess() is th...