|  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
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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: aaronw at net dot com
New email:
PHP Version: OS:


 [2007-05-03 19:24 UTC] aaronw at net dot com
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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2016-12-31 00:12 UTC]
-Package: Feature/Change Request +Package: Streams related
 [2021-07-27 13:26 UTC]
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2021-07-27 13:26 UTC]
Are you looking for stream_context_set_option() and
 [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: Sun May 26 08:01:31 2024 UTC