[Top][All Lists]

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

sending list

From: Manuel Giraud
Subject: sending list
Date: 11 Sep 2001 12:05:37 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

Hi guilers,

        I was thinking of something that would be cool to have : be
        able to send and receive list over a socket. So you can write
        this kind of code : 

        ;;; Client
        ;;; ...
        (define message '(define a 8))
        (connect sock AF_INET 
                 (car (hostent:addr-list (gethost sname))) port)
        (send sock message)     
        ;;; end of Client

        ;;; Server
        ;;; ...
        (let ((sock (car (accept sock))))
          (eval (read sock)))
        ;;; end of Server

        But the guile's send use the classical C's send. So is there a
        guile guru out there to say if such a thing is feasible or
        completely impossible.
Jake:"See those berries? That's our breakfast! See that stream? That's
our drinking water!"
Daria:"See that skeleton? That's our future." 
-From "The Teachings Of Don Jake." 

_Manuel Giraud_

reply via email to

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