I'm having issues reading the response from a TCP server. Specifically,
any attempt to read the input port does not terminate. I've used
port-bytes, read-byte, and read-line. In all cases the effect is the same.
I thought that if there were no bytes available on an input port that the
read
Have you tried closing the ports? -- Matthias
On Sep 3, 2014, at 6:01 PM, Gilbert Martinez wrote:
I'm having issues reading the response from a TCP server. Specifically, any
attempt to read the input port does not terminate. I've used port-bytes,
read-byte, and read-line. In all cases
Gilbert Martinez wrote at 09/03/2014 12:01 PM:
I run the code above and execute the following in the interactions pane:
Welcome to DrRacket, version 6.1.0.5--2014-08-25(32ae3f8/a) [3m].
Language: racket [custom].
12
(for ((byte (in-bytes (port-bytes c-in
(printf ~x
On 09/03/2014 12:01 PM, Gilbert Martinez wrote:
I'm having issues reading the response from a TCP server.
Specifically, any attempt to read the input port does not terminate.
I've used port-bytes, read-byte, and read-line. In all cases the
effect is the same.
I thought that if there were