Hello Erik,
Thank you for the update.
The nodelay socket option can be supported in the Scieneer CL. It may also be useful to add this option to 'socket-accept, or perhaps split this out into a separate function that can be used to enable or disable the Nagle algorithm.
The Scieneer CL streams support both the timeout and the deadline, but also allow these to be reset and for the remaining time to be read which is important for many applications. For example a web server can reset the deadline at the start of a new request. So perhaps this functionality could be split out from 'socket-connect.
Regards Douglas Crosher
...
A number of smaller features (options to SOCKET-CONNECT) have also been added, however, these may not be available on all implementations:
- :no-delay, which disables Naggle's algorithm
- :timeout, which sets a per-operation timeout on the socket
- :deadline, which sets a maximum life-time to the socket
...
As always, any feedback - bugs or hugs - is greatly appreciated. If you use usocket, please let us know what for!