php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #1387
Submitted: 1999-05-07 10:56 UTC Modified: 2001-02-10 13:15 UTC
From: jsf at swip dot net Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 3.0.6 OS: Solaris 2.6
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jsf at swip dot net
New email:
PHP Version: OS:

 

 [1999-05-07 10:56 UTC] jsf at swip dot net
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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-02-10 13:15 UTC] jimw@php.net
a socket() function was added in 4.0.2.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 09 22:01:27 2024 UTC