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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
36 + 17 = ?
Subscribe to this entry?

 
 [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: Tue Apr 16 06:01:30 2024 UTC