8 Sep 23:31
Re: [OpenMCL/CCL Devel] Send and receive data via CCL sockets
From: David L. Rager <ragerdl <at> cs.utexas.edu>
Subject: Re: [OpenMCL/CCL Devel] Send and receive data via CCL sockets
Newsgroups: gmane.lisp.openmcl.devel
Date: 2008-09-08 21:31:27 GMT
Subject: Re: [OpenMCL/CCL Devel] Send and receive data via CCL sockets
Newsgroups: gmane.lisp.openmcl.devel
Date: 2008-09-08 21:31:27 GMT
Nice, that works quite well, thanks. Now, I'm trying to figure out how to actually send and receive data. If I use format to write a string to the stream, how do I make the other process read the string? A read (triggered with a call to "(read der)" of the stream on the server just hangs (a backtrace shows it's waiting in FD-READ, which was called by FD-Stream-Advance). Note: "der" is set to the stream generated from the socket labeled "der" in the example sent out by Karsten. On Mon, Sep 8, 2008 at 4:31 PM, David Rager <ragerdl <at> gmail.com> wrote: > Nice, that works quite well, thanks. > > Now, I'm trying to figure out how to actually send and receive data. > If I use format to write a string to the stream, how do I make the > other process read the string? A read (triggered with a call to > "(read der)" of the stream on the server just hangs (a backtrace shows > it's waiting in FD-READ, which was called by FD-Stream-Advance). > > Note: "der" is set to the stream generated from the socket labeled > "der" in the example sent out by Karsten. > > On Mon, Sep 8, 2008 at 2:42 PM, Karsten Poeck <karsten.poeck <at> gmail.com> wrote: >> Hello, >> I use the following: >> (defun %make-client-socket (host &key port) >> (ccl:make-socket :remote-host host >> :remote-port port >> :type :stream(Continue reading)
RSS Feed