[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Separate textual/binary ports vs. mixed ports
From: |
Ludovic Courtès |
Subject: |
Re: Separate textual/binary ports vs. mixed ports |
Date: |
Tue, 05 Jun 2012 14:47:47 +0200 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.93 (gnu/linux) |
Hi!
Noah Lavine <address@hidden> 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’.
- Re: %default-port-conversion-strategy and string ports, Ludovic Courtès, 2012/06/01
- Re: %default-port-conversion-strategy and string ports, David Kastrup, 2012/06/01
- Re: %default-port-conversion-strategy and string ports, Ludovic Courtès, 2012/06/01
- Re: %default-port-conversion-strategy and string ports, Mark H Weaver, 2012/06/01
- Re: %default-port-conversion-strategy and string ports, Ludovic Courtès, 2012/06/02
- Re: %default-port-conversion-strategy and string ports, David Kastrup, 2012/06/02
- Re: %default-port-conversion-strategy and string ports, Daniel Krueger, 2012/06/03
- Separate textual/binary ports vs. mixed ports, Ludovic Courtès, 2012/06/03
- Re: Separate textual/binary ports vs. mixed ports, Daniel Krueger, 2012/06/05
- Re: Separate textual/binary ports vs. mixed ports, Noah Lavine, 2012/06/05
- Re: Separate textual/binary ports vs. mixed ports,
Ludovic Courtès <=
- Re: Separate textual/binary ports vs. mixed ports, Ludovic Courtès, 2012/06/05