Problems reading from socket

Asked by Wayne Iba

Sorry for the duplication: I'm not sure which place would be more appropriate. I have the same question under the sbcl category in which I've provided details: https://answers.launchpad.net/sbcl/+question/130572

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu sbcl Edit question
Assignee:
No assignee Edit question
Solved by:
Wayne Iba
Solved:
Last query:
Last reply:
Revision history for this message
Wayne Iba (wayne-iba) said :
#1

Just a followup that some discussion and clarification has taken place on the other forum but I'd welcome more input. (https://answers.launchpad.net/sbcl/+question/130572)

In a nutshell, a list sent over a socket without a newline following the closing paren, does not get read by (read inputsocketstream), but the entire list is available to be read as confirmed by repeated (read-char inputsocketstream). When reading a non-newline-terminated list from a file, (read inputfilestream) works just fine reading the list.

Revision history for this message
Wayne Iba (wayne-iba) said :
#2

Question resolved (and bug filed) on other forum.