1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-06 05:52:48 -05:00

Add X11 forwarding, mainly thanks to Andreas Schultz

[originally from svn r878]
This commit is contained in:
Simon Tatham
2001-01-22 11:34:52 +00:00
parent 7edcb497cc
commit 4a339ef430
7 changed files with 437 additions and 4 deletions

View File

@ -423,6 +423,8 @@ Socket sk_new(SockAddr addr, int port, int privport, sk_receiver_t receiver) {
}
void sk_close(Socket s) {
extern char *do_select(SOCKET skt, int startup);
del234(sktree, s);
do_select(s->s, 0);
closesocket(s->s);