Re: Website Suggestion - Example code with Output's Examples

From: Date: Tue, 17 Jun 2014 00:35:07 +0000
Subject: Re: Website Suggestion - Example code with Output's Examples
References: 1 2 3 4 5 6 7 8  Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-19281@lists.php.net to get a copy of this message
Its cool, was not after support, was just making a suggestion as per in my original post, if you guys wanted to take it on board or not that's cool. But by demonstration you can see why it might be good to have a example output as well. Kind regards Ansego. On Tue, Jun 17, 2014 at 10:19 AM, Hannes Magnusson < hannes.magnusson@gmail.com> wrote: > This is not a support forum, sorry. > If you believe this is a bug, please file a ticket on > https://bugs.php.net > Alternatively, ask on php-general@ or other support forums. > > > -Hannes > > On Mon, Jun 16, 2014 at 3:51 PM, Ansego <ansego@gmail.com> wrote: > > Hi Hannes, > > > > I did as the socket.installtion.php page suggested with installing it too > > php.ini file, I now have 3 errors, tested changing the IP/Port and > receive > > same output of errors. > > > > > > Warning: socket_bind(): unable to bind address [10049]: The requested > > address is not valid in its context. in C:\PATH\test.php on line 22 > > socket_bind() failed: reason: The requested address is not valid in its > > context. > > > > Warning: socket_listen(): unable to listen on socket [10022]: An invalid > > argument was supplied. in C:\PATH\test.php on line 26 > > socket_listen() failed: reason: An invalid argument was supplied. > > > > Warning: socket_accept(): unable to accept incoming connection [10022]: > An > > invalid argument was supplied. in C:\PATH\test.php on line 31 > > socket_accept() failed: reason: An invalid argument was supplied. > > > > > > Kind Regards, > > > > Ansego. > > > > > > > > > > > > > > > > On Tue, Jun 17, 2014 at 1:48 AM, Hannes Magnusson > > <hannes.magnusson@gmail.com> wrote: > >> > >> http://us1.php.net/manual/en/sockets.installation.php > >> > >> > >> -Hannes > >> > >> > >> On Mon, Jun 16, 2014 at 7:52 AM, Ansego <ansego@gmail.com> wrote: > >> > Id be happy to help. The output for that code is error: > >> > > >> > Fatal error: Call to undefined function socket_create() in ..... on > line > >> > 14 > >> > > >> > > >> > > >> > > >> > On Tue, Jun 17, 2014 at 12:24 AM, Hannes Magnusson > >> > <hannes.magnusson@gmail.com> wrote: > >> >> > >> >> On Mon, Jun 16, 2014 at 12:41 AM, Ansego <ansego@gmail.com> wrote: > >> >> > Hi and thank you, > >> >> > > >> >> > > >> >> > I noticed it has 'Return Values' section for each section but > >> >> > for > the > >> >> > Example #1 / Example #2 etc don't seem to have the output with it. > >> >> > > >> >> > For example: > >> >> > http://www.php.net/manual/en/sockets.examples.php > (Below > >> >> > code) > >> >> > > >> >> > There does not seem to have a output of what this does or am I just > >> >> > not > >> >> > seeing it? > >> >> > >> >> Providing an example output of that example doesn't really give you > >> >> anything. > >> >> But sure, we could include it. > >> >> If you'd like to contribute the output, please submit a patch through > >> >> > >> >> https://edit.php.net/?project=PHP&perm=en/sockets.examples.php > >> >> > >> >> Alternatively you can file a bug report at > >> >> > >> >> > >> >> > > https://bugs.php.net/report.php?bug_type=Documentation+problem&manpage=sockets.examplesAt > -Qaöê„Ë&Í50J > >> >> > >> >> -Hannes > >> > > >> > > > > > >

« previous php.webmaster (#19281) next »