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
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) {
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
;/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
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
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:
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
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
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
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
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
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
12 matches
Mail list logo