Re: simple-streams
- From: GP lisper <spambait@xxxxxxxxxxxxxxx>
- Date: Mon, 29 Aug 2005 06:50:53 -0700
On Mon, 29 Aug 2005 15:05:02 +0200, <der_julian@xxxxxx> wrote:
> GP lisper <spambait@xxxxxxxxxxxxxxx> writes:
>
>> trivial-http
>> cl-yahoo
>
> trivial-http would solve the "Making a HTTP GET request"-problem, but
> does not show me how to use the simple-stream interface.
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.
(defun test-server ()
(let ((stream (trivial-sockets:open-stream "192.168.100.1" 6666)))
(loop for message = (read stream nil :eof)
until (eq message :eof)
do (print message))))
--
Program A uses CLOS, Program B is implemented with structs, leading
to a fourfold increase in execution speed. --J. B. Heimatseiten
.
- Follow-Ups:
- Re: simple-streams
- From: Julian Stecklina
- Re: simple-streams
- References:
- simple-streams
- From: Julian Stecklina
- Re: simple-streams
- From: GP lisper
- Re: simple-streams
- From: Julian Stecklina
- simple-streams
- Prev by Date: READ THIS! I'm Glad I did! Best way for Quick easy cash, for REAL!
- Next by Date: Re: (Prolog + LISP + Erlang) with integration issues versus C++
- Previous by thread: Re: simple-streams
- Next by thread: Re: simple-streams
- Index(es):