]> asedeno.scripts.mit.edu Git - PuTTY_svn.git/commit
Add a Socket implementation which just holds an error message.
authorSimon Tatham <anakin@pobox.com>
Sun, 17 Nov 2013 14:03:36 +0000 (14:03 +0000)
committerSimon Tatham <anakin@pobox.com>
Sun, 17 Nov 2013 14:03:36 +0000 (14:03 +0000)
commit611292a042e072667137889abaffcc01b246c893
tree57c481456db1dfe40f0c25415cee9b9cbb50e527
parent897d0ec86c6fd3c11a33a1db8018ea16fd40868b
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.

git-svn-id: http://svn.tartarus.org/sgt/putty@10065 cda61777-01e9-0310-a592-d414129be87e
Recipe
errsock.c [new file with mode: 0644]
network.h