simon-svn: putty: simon

Commits to Tartarus CVS repository. tartarus-commits at lists.tartarus.org
Sun Nov 17 14:03:41 GMT 2013


SVN root:       svn://svn.tartarus.org/sgt
Changes by:     simon
Revision:       10065
Date:           2013-11-17 14:03:36 +0000 (Sun, 17 Nov 2013)

Log message (7 lines):
Add a Socket implementation which just holds an error message.

This isn't yet used, but I plan to use it in situations where you have
to report errors by returning a valid Socket on which the client wlil
call sk_socket_error, but in fact you notice the error _before_
instantiating your usual kind of Socket. The resulting Socket is
usable for nothing except reading out the error string and closing it.

Modified files:
U   putty/Recipe
A   putty/errsock.c
U   putty/network.h

Links:
http://svn.tartarus.org/sgt/?rev=10065&view=rev
http://svn.tartarus.org/sgt/putty/Recipe?rev=10065&r1=10064&r2=10065
http://svn.tartarus.org/sgt/putty/errsock.c?rev=10065&view=markup
http://svn.tartarus.org/sgt/putty/network.h?rev=10065&r1=10064&r2=10065



More information about the tartarus-commits mailing list