krakjoe / pthreads

Threading for PHP - Share Nothing, Do Everything :)
Other
3.47k stars 503 forks source link

Make socket setOpt accept arrays as values #697

Open danog opened 7 years ago

danog commented 7 years ago

Environment

Summary

The setOption method of the new thread-safe Socket implementation accepts only integers for value, that is a problem since some options are not integers, like an array that can be converted to the timeval structure for timeouts.

A way to provide ssl contexts to sockets would also be nice :)

BoltUser commented 6 years ago

Have you news abount this enhancement?