The `socket' function in the backends is only ever checked to see if
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 27 Aug 2006 08:03:19 +0000 (08:03 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 27 Aug 2006 08:03:19 +0000 (08:03 +0000)
commit6226c9390d23d6868edde63b9568891cd88631cc
treec0ccce7767bd6b2e81e50616bc2879daa489fe8e
parent616741f32a737383dac1d19a7ef9020dabc39d45
The `socket' function in the backends is only ever checked to see if
it's NULL. Since we already have one back end (uxpty) which doesn't
in fact talk to a network socket, and may well have more soon, I'm
replacing this TCP/IP-centric function with a nice neutral
`connected' function returning a boolean. Nothing else about its
semantics has currently changed.

git-svn-id: svn://svn.tartarus.org/sgt/putty@6810 cda61777-01e9-0310-a592-d414129be87e
pscp.c
psftp.c
putty.h
raw.c
rlogin.c
ssh.c
telnet.c
unix/uxplink.c
unix/uxpty.c
windows/winplink.c