Samuel,
Hi Roger/all,I wasn't able to reproduce this with my setup; I seem to get the end of file condition either way.I'm using usocket 0.6.0.1 on sbcl 1.0.54.0-185b926 on Mac OS 10.7.5.Can you provide your versions and/or a runnable test case?Also, is there any plan to support utf8 streams directly without creating unsigned-byte sockets and converting from/to string to string-utf-8-bytes?I do not get the condition, so I'm unable to detect when a client has disconnected.Unfortunately, when I create the server with:I'm able to get an "Unexpected end of file" condition on the server side when the client disconnect.But when a create a server with:Hi all!!The FAQ states:
Reading from a stream which has been closed at the remote end signals an END-OF-FILE condition, meaning that reading from the stream and detecting that condition is the way to do it.
:element-type 'character
:element-type 'unsigned-byte
thanks!_______________________________________________
usocket-devel mailing list
usocket-devel@common-lisp.net
http://lists.common-lisp.net/cgi-bin/mailman/listinfo/usocket-devel