Hello everyone, just a simple question.
I have an incoming TCP data stream I want to capture. For example port 9004.
I've created a simple incoming server routine. Not sure if I needed KEEPALIVE but
let TCP=unt; open (TCP,bsz=4096,err=ERR_PORT)"[tcp];9004;KEEPALIVE"
read record (TCP,err=ERR_READ)A$
print "Got: ",A$
Similarly I ran a linux "nc capture command" capturing data from another port which has the same data being sent to it.
What I am noticing is occasionally the PVX program does something like this:
Almost like a terminator character is received on the port and it registers part of the data then it continues on the next read fine. So I would have to concatenate the data.
The nc command however does not break apart any data.
I am just wondering if I need to change anything in this routine. Thanks.