pthreads icon indicating copy to clipboard operation
pthreads copied to clipboard

Make socket setOpt accept arrays as values

Open danog opened this issue 8 years ago • 1 comments

Environment

  • PHP: 7.1.4RC1 ( ZTS DEBUG )
  • pthreads: 3.1.7dev
  • OS: Debian Jessie 8.7, Linux 4.10.0-xanmod1

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 :)

danog avatar May 01 '17 02:05 danog

Have you news abount this enhancement?

BoltUser avatar Oct 03 '18 23:10 BoltUser