Re: [PHP] Socket Functions in PHP

2006-05-08 Thread Richard Lynch
On Sun, May 7, 2006 11:22 pm, Oliver John V. Tibi wrote: while ($data != ) { $document .= $data; $data = socket_read( $resource, 1024 ); $logman-append(Read . strlen($data) . bytes); } This is going to help you

[PHP] Socket Functions in PHP

2006-05-07 Thread Oliver John V. Tibi
Hi all, I suspect I'm having problems with socket functions within my PHP application running on Red Hat 2.4.21-4.EL #1/PHP 4.3.2/Apache 2.0.46. Below is a sample code listing: function sendRequest($strRequest) {

Re: [PHP] Socket functions

2005-08-30 Thread Burhan Khalid
Philippe Reynolds wrote: Greetings, When I do an ifconfig in unix, I see the the IP address for the my ethernet. It follows something called inet. Would anyone know who to manipulate the socket functions to be able to extract the inet IP address fromt the eth0 section?? ?php

Re: [PHP] Socket functions

2005-08-30 Thread Philippe Reynolds
;/ibrTo: iPhilippe Reynolds lt;[EMAIL PROTECTED]gt;/ibrCC: iphp-general@lists.php.net/ibrSubject: iRe: [PHP] Socket functions/ibrDate: iTue, 30 Aug 2005 09:49:22 +0300/ibrgt;Philippe Reynolds wrote:brgt;gt;Greetings,brgt;gt;brgt;gt;When I do an ifconfig in unix, I see the the IP address

[PHP] Socket functions

2005-08-29 Thread Philippe Reynolds
Greetings, When I do an ifconfig in unix, I see the the IP address for the my ethernet. It follows something called inet. Would anyone know who to manipulate the socket functions to be able to extract the inet IP address fromt the eth0 section?? Cheers Phil -- PHP General Mailing List

[PHP] socket functions and singnals

2002-03-24 Thread Michael Govorun
Socket functions, such as socket_read(), socket_accept() blocking signal handling in php-processes. Is it bug? Is there any way to use signals and socket_accept() together? Please, help! -- Michael Govorun -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Socket functions

2001-12-19 Thread David
Hi, just wondering if anyone have tried the socket functions in php http://www.php.net/manual/en/ref.sockets.php does it work on win32(apache)? i tried the simple TCP/IP example on that page but it does\'nt work for me. I\'m using 4.1.0 and enabled that entension already. -- PHP General

[PHP] Socket functions

2001-05-10 Thread Peter Sorger
Hello, I cannot make the Example 1 (Socket example: Simple TCP/IP server) from the sockets php manual page (http://www.php.net/manual/en/ref.sockets.php) work :( It always closes the connection after one line passed throug the server script :( I'm running it on 4.0.3pl1 CGI version. Am I

[PHP] Flash XMLSocket object and the PHP socket functions

2001-04-09 Thread Frank Joerdens
I am currently thinking about how to implement a realtime chat using the XMLSocket functionality in Macromedia Flash 5 using the PHP socket functions. Here's a quote from the Flash 5 online help: --- begin quote --- Using the XMLSocket object To use

Re: [PHP] socket functions

2001-04-04 Thread Joseph Blythe
Yasuo Ohgaki wrote: Did you read the Manual? The manual is my bible I always read it before I post. Also searched google and the list archives. socket_set_blocking As far as I can tell this does not work for the new socket functions, the file descriptor does not seem to be compatible? (it

Re: [PHP] socket functions

2001-04-03 Thread Joseph Blythe
Joseph Blythe wrote: hello, does anyone know if set_nonblock() works, what paramaters it takes and what it returns? there is only one mention of it in the manual under accept_connect, and I can not seem to set the socket to non block?? also has anybody successfully written a

[PHP] socket functions

2001-04-02 Thread Joseph Blythe
hello, does anyone know if set_nonblock() works, what paramaters it takes and what it returns? there is only one mention of it in the manual under accept_connect, and I can not seem to set the socket to non block?? also has anybody successfully written a way to time out a read with the new