Re: simple-streams



On Mon, 29 Aug 2005 17:01:28 +0200, <der_julian@xxxxxx> wrote:
> GP lisper <spambait@xxxxxxxxxxxxxxx> writes:
>
>> On Mon, 29 Aug 2005 15:05:02 +0200, <der_julian@xxxxxx> wrote:
>>> GP lisper <spambait@xxxxxxxxxxxxxxx> writes:
>>
>> I'm not sure what you are asking here. The difference between simple
>> and grey streams, or how to use the TCP streams? If the latter,
>> 'trivial-sockets' (which trivial-http depends upon) shows basic telnet
>> connections.
>
> I am sorry, if I was not clear. I want to create a stream class that
> extends a basic tcp stream with MP3 streaming capabilities. This
> should look like an ordinary stream to the outside world and my basic
> problem is with the simple-streams interface not with networking in
> general. I know how to deal with streams, I just do not know how to
> implement them using simple-streams.
>
> Is there an example of how to extend a socket-stream-* class (from
> ACL's socket class hierarchy) with new functionality?

Have you seen Practical Common Lisp? Peter has a section towards the
end that covers shoutcast/icecast servers. He discusses some of the
problems with adding the ID3 info for MP3s, if I recall correctly.


--
Program A uses CLOS, Program B is implemented with structs, leading
to a fourfold increase in execution speed. --J. B. Heimatseiten
.