Created a shiny new abstraction for the socket handling. Has many
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Mon, 23 Oct 2000 11:55:11 +0000 (11:55 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Mon, 23 Oct 2000 11:55:11 +0000 (11:55 +0000)
commit2f75bae1a1514b862ba6c1c8a465759b72b518cb
treea6c78690068d758987a0131c557600140cbf979a
parent8df7a775f6f8b0f81f84eafe28cd0bb8d4c6d1f4
Created a shiny new abstraction for the socket handling. Has many
advantages:
 - protocol modules can call sk_write() without having to worry
   about writes blocking, because blocking writes are handled in the
   abstraction layer and retried later.
 - `Lost connection while sending' is a thing of the past.
 - <winsock.h> is no longer needed in most modules, because
   "putty.h" doesn't have to declare `SOCKET' variables any more,
   only the abstracted `Socket' type.
 - select()-equivalent between multiple sockets will now be handled
   sensibly, which opens the way for things like SSH port
   forwarding.

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