Ben Harris
2506a26ab4
Calling plug_closing() is highly likely to result in a call to sk_close(),
...
so arrange that mactcp_poll() can cope with that and not access freed memory
when it happens.
[originally from svn r2545]
2003-01-11 17:36:24 +00:00
Ben Harris
cd79a89c11
When polling MacTCP connections, check the connection state and if the far
...
end has sent a FIN pass that up to the plug.
TODO: handle less graceful connection closures.
[originally from svn r2544]
2003-01-11 17:31:59 +00:00
Ben Harris
0ea918fb3a
const fallout from Simon's X forwarding changes.
...
[originally from svn r2540]
2003-01-11 14:08:07 +00:00
Ben Harris
c342678579
Forcibly close any TCP connections that are still open when PuTTY exits.
...
This saves leaving them lying around to crash the machine later.
[originally from svn r2524]
2003-01-09 23:04:34 +00:00
Ben Harris
f11987f988
Install a notification procedure (ASR) on each TCP connection that wakes
...
PuTTY up when something happens. This should allow it to receive data without
having to poll for it continuously.
[originally from svn r2519]
2003-01-09 19:26:39 +00:00
Ben Harris
697794abbf
Fairly major hackery to get SSH going on the Mac. Half the support
...
functions are only dummy stubs, but it's still minimally usable. At
least, as long as you don't want to do anything complex like logging out.
[originally from svn r2500]
2003-01-08 22:46:12 +00:00
Ben Harris
30bff47c89
Add reception support for MacTCP. Now I can log in over TELNET, just about.
...
There are still lots of things to fix, like urgent data or the fact that
everything seems to happen one keypress too late, but this is an important
milestone.
[originally from svn r2458]
2003-01-05 12:53:38 +00:00
Ben Harris
ac85d9b8c9
Second work-in-progress MacTCP commit. We can now open a connection, but
...
not transfer any data across it.
[originally from svn r2456]
2003-01-05 10:52:56 +00:00
Ben Harris
ba15f25503
Beginnings of a MacTCP network layer. This has all of the DNS interface
...
present, including stuff to find and load the MacTCP DNR. Actually making
a TCP connection is still unimplemented, though, and much testing remains
to be done.
[originally from svn r2452]
2003-01-04 19:51:20 +00:00