<html>
<head>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">I tried with (read socket) and
read-line but the interpreter seems to wait for the response that
does not arrive.<br>
The same server works with sbcl using the function
(sb-bsd-sockets::socket-receive socket)<br>
What function should I use?<br>
Thanks!<br>
<br>
On 2/12/13 2:51 PM, Tim Bradshaw wrote:<br>
</div>
<blockquote cite="mid:B440A9A7-EA29-4F90-8370-79B1AEA47A40@tfeb.org" type="cite">
<div>
<div>On 12 Feb 2013, at 13:18, Stefano Bennati wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica;
font-style: normal; font-variant: normal; font-weight:
normal; letter-spacing: normal; line-height: normal;
orphans: 2; text-align: -webkit-auto; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-border-horizontal-spacing: 0px;
-webkit-border-vertical-spacing: 0px;
-webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width:
0px; font-size: medium; ">But now I have no idea how to read
the answer (string) that the server gives in response to
MY-STRING.</span></blockquote>
</div>
<br>
<div>A connected TCP socket is just a stream, you can use all the
normal I/O functions on it I think.</div>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
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: <a class="moz-txt-link-freetext" href="http://portal.uni.freiburg.de/cognition/members-de/bennati/">http://portal.uni.freiburg.de/cognition/members-de/bennati/</a></pre>
</body>
</html>