php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #41272 Need equivalent of socket_set_option for streams sockets
Submitted: 2007-05-03 19:24 UTC Modified: 2021-08-08 04:22 UTC
Votes:3
Avg. Score:4.7 ± 0.5
Reproduced:3 of 3 (100.0%)
Same Version:2 (66.7%)
Same OS:1 (33.3%)
From: aaronw at net dot com Assigned: cmb (profile)
Status: No Feedback Package: Streams related
PHP Version: 5.2.2 OS: Linux
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2007-05-03 19:24 UTC] aaronw at net dot com
Description:
------------
It would be very useful to have the equivalent of socket_set_option 
and socket_get_option for the stream_socket_xxx functionality. The 
options should be able to apply to all socket types, i.e. TCP, UDP, 
TLS, UNIX, etc. This would be useful for setting things like the 
send/receive buffer sizes, nodelay, etc.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-12-31 00:12 UTC] cmb@php.net
-Package: Feature/Change Request +Package: Streams related
 [2021-07-27 13:26 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2021-07-27 13:26 UTC] cmb@php.net
Are you looking for stream_context_set_option() and
stream_context_get_option()?
 [2021-08-08 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 22:01:28 2024 UTC