Hi!

Noah Lavine <noah.b.lav...@gmail.com> skribis:

> I agree that separate binary and textual ports are cleaner, but what
> about using a port to deal with a mixed binary/textual protocol, like
> HTTP? I think the cleanest way to deal with that would be to have a
> port where you first read characters and then read binary data.

Yes, but I think ‘transcoded-port’ in R6 helps solve that (you open a
binary port, then use ‘transcoded-port’ to open a textual port above it.)

Thanks,
Ludo’.

Reply via email to