|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-02-10 13:15 UTC] jimw@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 10:00:02 2025 UTC |
I would like to have a change in the way fsockopen works. As of now it defaults to TCP as a protocol but in some cases you really would like to specify what protocol to use. I should work something like this: fsockopen(string hostname, int port, string [protocol], int [errno], string [errstr]) Where the option protocol (if not omitted) would default to TCP. I just thought it could be a neat feature if you could specify the protocol. Protocols I can think of are UDP and ICMP for instance. I'm know there are a bunch of networked applications out there which use UDP only and it would be great if PHP and fsockopen would support them.