#58 Add microseconds resolution for socket timeouts

Feature Request
closed-accepted
1
2006-12-01
2006-01-24
No

The ns_sockopen and ns_sockselect accept "-timeout"
optional argument. This is in certain cases to
coarse hence idea is to modify the syntax of the value
to:

-timeout seconds?:microseconds?

so one can ns_sockselect for 0:2000 (that is 2 millisec)
This is the same format as already used for ns_job
command and is backwardly compatible with the existing
code hence no scripts will break.

Discussion

  • Zoran Vasiljevic

    • status: open --> closed-accepted
     
  • Zoran Vasiljevic

    Logged In: YES
    user_id=95086

    Added to cvs.

     
  • Stephen

    Stephen - 2006-12-01
    • labels: --> NaviServer - libnsd, libnsthread, nsd
    • milestone: --> Feature Request
    • priority: 5 --> 1
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks