gcl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gcl-devel] Re: GCL Socket questions


From: Chris Hall
Subject: [Gcl-devel] Re: GCL Socket questions
Date: Wed, 28 Apr 2004 20:33:09 -1000
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.2 (gnu/linux)

Camm Maguire <address@hidden> writes:

> Greetings!
>
> OK here is a start:
>
> 1) Install netcat
> 2) in a shell, do nc -l -p 1920
> 3) In gcl osmehwere else, (setq s (si::socket 1920 :host "localhost"))
> 4) (format s "hello%") ; should appear in netcat window
> 5)  Type "there <cr>" in netcat window
> 6) In gcl (read-line s) ; (should get "there")
> 7) In gcl (close s) ; should terminate netcat.
>

Welcome back!

And many thanks - that does indeed work. :-D

I had heard of netcat, but never really knew what it does.  It certainly
looks like it will be very, very useful for developing net apps - I
think I'd better grab the source!

-- 
This is not a novel to be tossed aside lightly. It should be thrown
with great force.
-- Dorothy Parker (1893 - 1967)

Attachment: pgphG3ryXCZL1.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]