Req #41272 [Opn->Fbk]: Need equivalent of socket_set_option for streams sockets

From: Date: Tue, 27 Jul 2021 13:26:56 +0000
Subject: Req #41272 [Opn->Fbk]: Need equivalent of socket_set_option for streams sockets
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-235402@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=41272&edit=1 ID: 41272 Updated by: cmb@php.net Reported by: aaronw at net dot com Summary: Need equivalent of socket_set_option for streams sockets -Status: Open +Status: Feedback Type: Feature/Change Request Package: Streams related Operating System: Linux PHP Version: 5.2.2 -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: Are you looking for stream_context_set_option() and stream_context_get_option()? Previous Comments: ------------------------------------------------------------------------ [2007-05-03 19:24:16] 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. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=41272&edit=1

« previous php.bugs (#235402) next »