Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Changes between Version 6 and Version 7 of SocketDesign

Show
Ignore:
Author:
Nietsnie (IP: 142.59.15.189)
Timestamp:
03/04/08 22:36:30 (16 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SocketDesign

    v6 v7  
    55== Goals ==  
    66 
    7  * To provide a way to manage timeouts on a socket rather than allowing the OS to manage this, eg. try and read or wirte data for 10 seconds before returning to the calling function. 
     7 * To provide a way to manage timeouts on a socket rather than allowing the OS to manage this, eg. try and read or write data for 10 seconds before returning to the calling function. 
    88 * To provide a way to interrupt the timeout loop for things such as shutdown, so that the application can give the connected peer an alert. Eg. An SMTP Daemon, when shutting down, should give a 400 temporary error, so the client tries to resend later. 
    99 * To make the two previous features easily extensible so that they can be used with multiple protocols