Problems reading from socket

Asked by Wayne Iba on 2010-10-21

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:
2010-10-28
Last query:
2010-10-28
Last reply:
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.

Wayne Iba (wayne-iba) said : #2

Question resolved (and bug filed) on other forum.