Changes between Version 6 and Version 7 of SocketDesign
- Timestamp:
- 03/04/08 22:36:30 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SocketDesign
v6 v7 5 5 == Goals == 6 6 7 * To provide a way to manage timeouts on a socket rather than allowing the OS to manage this, eg. try and read or w irte 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. 8 8 * 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. 9 9 * To make the two previous features easily extensible so that they can be used with multiple protocols