Y
Yechezkal Gutfreund
For practical purposes, the CF network stream is really not a stream at all.
You can't peek, you can't push things back on the stream, etc.
We are sending packets on the stream with packet seperation marks,
The problem is that one can easily do a read that gets half of two packets,
or other malignant cases. We would like to read just as much to get the tail
of the first packet (and match it with what we read) and leave the second
packet on the stream till the rest arrives.
Logically, this is buffered stream.
The problem is that BufferedStreams are not supported in CF, nor is peek, or
seek, which would allow us to set the stream pointer to the actual logical
packet break.
What are people doing to get around this limitation?
--
==================================
Yechezkal Gutfreund
Chief Scientist
Kesser Technical Group, Inc.
==================================
You can't peek, you can't push things back on the stream, etc.
We are sending packets on the stream with packet seperation marks,
The problem is that one can easily do a read that gets half of two packets,
or other malignant cases. We would like to read just as much to get the tail
of the first packet (and match it with what we read) and leave the second
packet on the stream till the rest arrives.
Logically, this is buffered stream.
The problem is that BufferedStreams are not supported in CF, nor is peek, or
seek, which would allow us to set the stream pointer to the actual logical
packet break.
What are people doing to get around this limitation?
--
==================================
Yechezkal Gutfreund
Chief Scientist
Kesser Technical Group, Inc.
==================================