[Openmcl-devel] Playing with sockets
Stefano Bennati
bennati at cognition.uni-freiburg.de
Tue Feb 12 07:07:36 PST 2013
I tried with (read socket) and read-line but the interpreter seems to
wait for the response that does not arrive.
The same server works with sbcl using the function
(sb-bsd-sockets::socket-receive socket)
What function should I use?
Thanks!
On 2/12/13 2:51 PM, Tim Bradshaw wrote:
> On 12 Feb 2013, at 13:18, Stefano Bennati wrote:
>
>> But now I have no idea how to read the answer (string) that the
>> server gives in response to MY-STRING.
>
> A connected TCP socket is just a stream, you can use all the normal
> I/O functions on it I think.
--
M.Sc. Stefano Bennati
Centre for Cognitive Science
Friedrichstr. 50
D-79098 Freiburg, Germany
Phone: +49 761 203-4947
Fax: +49 761 203-4938
email: bennati at cognition.uni-freiburg.de
web: http://portal.uni.freiburg.de/cognition/members-de/bennati/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clozure.com/pipermail/openmcl-devel/attachments/20130212/b3e2d965/attachment.htm>
More information about the Openmcl-devel
mailing list