Hello,
> Sounds like the package maintainer is a minimum of six years
> behind the times, or they've done some forking to it. We don't
> support any third-party packages, so that would be something you'd
> need to discuss with them, but - in all likelihood - someone just
> hasn't removed the "
On Wed, Mar 28, 2012 at 09:39, Meike Stone wrote:
> Hello,
>
> in the packet description of the php5-sockets in the SuSE Linux
> Enterprise Server 11 (SLES11) is
> the package php5-sockets in the additional SDK available, but marked
> as "experimental" (see below).
> Is this the true, where can I
Hello,
in the packet description of the php5-sockets in the SuSE Linux
Enterprise Server 11 (SLES11) is
the package php5-sockets in the additional SDK available, but marked
as "experimental" (see below).
Is this the true, where can I find this Information, or is this only a
historical relic?
Are
ws up the following:
>>
>> tcp0 0 10.0.0.1:8133 0.0.0.0:* LISTEN 31490/apache2
>> tcp6 0 0 :::80 :::* LISTEN 31490/apache2
>>
>> so i cant restart the daemon because apache uses that port/ip (or
>> socke
nt act like apache or openvpn).
Am i missing something? Or is that the default behavior of
linux/apache/php/sockets ???
Additional Information about OS etc.
Server/Client Debian LennyApache 2.2.9PHP 5.2.6-1+lenny9 with
Suhosin-Patch 0.9.6.2 (cli) (built: Aug 4 2010 06:06:53)
Cl
e. (mysql doesnt act like apache or openvpn).
Am i missing something? Or is that the default behavior of
linux/apache/php/sockets ???
Additional Information about OS etc.
Server/Client Debian LennyApache 2.2.9PHP 5.2.6-1+lenny9 with
Suhosin-Patch 0.9.6.2 (cli) (built: Aug 4 2010 06:0
On Thu, 2010-11-04 at 11:48 -0600, Nathan Nobbe wrote:
> On Thu, Nov 4, 2010 at 11:43 AM, Nathan Nobbe wrote:
>
> > $ yum search php | grep -i socket
> > php-pear-Net-Socket.noarch : Network Socket Interface
> >
>
> check that - thats def *not* the package you're looking for, it's a
> userspace o
On Thu, Nov 4, 2010 at 11:43 AM, Nathan Nobbe wrote:
> $ yum search php | grep -i socket
> php-pear-Net-Socket.noarch : Network Socket Interface
>
check that - thats def *not* the package you're looking for, it's a
userspace oo wrapper. you'd be best asking how to install this software on
some s
On Thu, Nov 4, 2010 at 11:11 AM, Suyash R wrote:
> On Tue, Nov 2, 2010 at 5:49 PM, Nathan Nobbe wrote:
>
>> On Tue, Nov 2, 2010 at 2:33 PM, Suyash R wrote:
>>
>>> No, we didn't try it our dept.'s admin wants to know where is sockets.so
>>> file on disk
>>>
>>
>> lol, tell your dept.'s 'admin' to
On Tue, Nov 2, 2010 at 5:49 PM, Nathan Nobbe wrote:
> On Tue, Nov 2, 2010 at 2:33 PM, Suyash R wrote:
>
>> No, we didn't try it our dept.'s admin wants to know where is sockets.so
>> file on disk
>>
>
> lol, tell your dept.'s 'admin' to run
>
> locate sockets.so
>
yeah he couldn't find it eithe
We added the extension=sockets.so to php.ini but it didn't work. However,
the problem was there was no sockets.so extension anywhere to be found.
i searched if I could install or add sockets.so extension. Couldn't find
anything.
Still looking for it.
Thank you for all the help.
-Suyash
On Tue
On Tue, Nov 2, 2010 at 2:33 PM, Suyash R wrote:
> No, we didn't try it our dept.'s admin wants to know where is sockets.so
> file on disk
>
lol, tell your dept.'s 'admin' to run
locate sockets.so
> and why should we try this when the phpinfo() displays sockets being
> enabled?
>
probly there
On Nov 2, 2010, at 3:23 PM, Suyash R wrote:
>
> No, our dept.'s admin wants to know where is sockets.so file on disk and why
> should we try this when the phpinfo() displays sockets being enabled?
>
> Can help me find sockets.so file I don't know where it is It's a shared
> object right are t
Sorry for the bad formatting and grammar in the previous mail.
No, we didn't try it our dept.'s admin wants to know where is sockets.so
file on disk and why should we try this when the phpinfo() displays sockets
being enabled?
Can you please help me find sockets.so file. I can't find it. It's a s
No, our dept.'s admin wants to know where is sockets.so file on disk and why
should we try this when the phpinfo() displays sockets being enabled?
Can help me find sockets.so file I don't know where it is It's a shared
object right are they stored on disk as individual files or all together
compil
On Nov 2, 2010, at 2:50 PM, Suyash R wrote:
> My admin disagrees and I have questions too.
>
> The phpinfo() fuction displays that sockets have been enabled. If
> extension=sockets.so is an alternate way to enable sockets, then why should
> this be done twice?
>
> Suyash Ramineni
> On Mon, Nov
My admin disagrees and I have questions too.
The phpinfo() fuction displays that sockets have been enabled. If
extension=sockets.so is an alternate way to enable sockets, then why should
this be done twice?
Suyash Ramineni
On Mon, Nov 1, 2010 at 2:35 PM, Nicholas Kell wrote:
>
> On Nov 1, 2010,
On Nov 1, 2010, at 1:12 PM, Suyash R wrote:
> No, sockets.so in not included in any of the machines php.ini file. However,
> I found that Linux machine's php.ini doesn't include sockets.so and sockets
> work fine on it but don't work on the Solaris machine.
>
> Is it required to be included o
No, sockets.so in not included in any of the machines php.ini file. However,
I found that Linux machine's php.ini doesn't include sockets.so and sockets
work fine on it but don't work on the Solaris machine.
Is it required to be included only in Solaris?
On Mon, Nov 1, 2010 at 1:41 PM, Nicholas K
On Nov 1, 2010, at 12:36 PM, rek wrote:
> I don't think the unix permission will cause a function undefined error.
>
> 於 2010年11月02日 01:08, crrr errr 提到:
>> Yes, the http ( Apache user) has rl ( read permission) on the php file with
>> sockets code in it. I think write access is unnecess
I don't think the unix permission will cause a function undefined error.
於 2010年11月02日 01:08, crrr errr 提到:
Yes, the http ( Apache user) has rl ( read permission) on the php file with
sockets code in it. I think write access is unnecessary for Apache user.
On Mon, Nov 1, 2010 at 12:50 P
On Nov 1, 2010, at 12:08 PM, crrr errr wrote:
> Yes, the http ( Apache user) has rl ( read permission) on the php file with
> sockets code in it. I think write access is unnecessary for Apache user.
>
> On Mon, Nov 1, 2010 at 12:50 PM, Nicholas Kell wrote:
>
>>
>> On Nov 1, 2010, at 11
On Nov 1, 2010, at 12:08 PM, crrr errr wrote:
> Yes, the http ( Apache user) has rl ( read permission) on the php file with
> sockets code in it. I think write access is unnecessary for Apache user.
>
> On Mon, Nov 1, 2010 at 12:50 PM, Nicholas Kell wrote:
>
> On Nov 1, 2010, at 11:44
Yes, the http ( Apache user) has rl ( read permission) on the php file with
sockets code in it. I think write access is unnecessary for Apache user.
On Mon, Nov 1, 2010 at 12:50 PM, Nicholas Kell wrote:
>
> On Nov 1, 2010, at 11:44 AM, crrr errr wrote:
>
> > Yes, the phpinfo() shows that
On Nov 1, 2010, at 11:44 AM, crrr errr wrote:
> Yes, the phpinfo() shows that sockets are enabled in both machines.
> On Mon, Nov 1, 2010 at 12:43 PM, Bastien Koert wrote:
>
>> On Mon, Nov 1, 2010 at 12:40 PM, crrr errr
>> wrote:
>>> Hello,
>>>
>>> I was trying to create a soc
Yes, the phpinfo() shows that sockets are enabled in both machines.
On Mon, Nov 1, 2010 at 12:43 PM, Bastien Koert wrote:
> On Mon, Nov 1, 2010 at 12:40 PM, crrr errr
> wrote:
> > Hello,
> >
> > I was trying to create a socket connection from a Solaris machine to a
> Red
> > Hat machine
On Mon, Nov 1, 2010 at 12:40 PM, crrr errr wrote:
> Hello,
>
> I was trying to create a socket connection from a Solaris machine to a Red
> Hat machine to get the PATH in Red Hat machine remotely on Solaris machine
> and display it to the user.
>
> We have a PHP 5.1.6 installation on a Li
Hello,
I was trying to create a socket connection from a Solaris machine to a Red
Hat machine to get the PATH in Red Hat machine remotely on Solaris machine
and display it to the user.
We have a PHP 5.1.6 installation on a Linux server (Apache) and PHP 5.2.6.
on a Unix(Solaris) server(Apache) .
On Wed, Aug 26, 2009 at 5:36 PM, Philip Thompson wrote:
> On Aug 26, 2009, at 2:47 PM, Bob McConnell wrote:
>
> From: Philip Thompson
>>
>>> On Aug 26, 2009, at 11:56 AM, Bob McConnell wrote:
>>>
From: Philip Thompson
>
> During a socket read, why would all the requested number
On Aug 26, 2009, at 2:47 PM, Bob McConnell wrote:
From: Philip Thompson
On Aug 26, 2009, at 11:56 AM, Bob McConnell wrote:
From: Philip Thompson
During a socket read, why would all the requested number of bytes
not
get sent? For example, I request 1000 bytes:
This is actually in a loop,
From: Philip Thompson
> On Aug 26, 2009, at 11:56 AM, Bob McConnell wrote:
>> From: Philip Thompson
>>>
>>> During a socket read, why would all the requested number of bytes
not
>>> get sent? For example, I request 1000 bytes:
>>>
>>> >> $data = @socket_read ($socket, 2048, PHP_BINARY_READ);
>>> ?>
From: Shawn McKenzie
> Bob McConnell wrote:
>> From: Philip Thompson
>>> During a socket read, why would all the requested number of bytes
not
>>
>>> get sent? For example, I request 1000 bytes:
>>>
>>> >> $data = @socket_read ($socket, 2048, PHP_BINARY_READ);
>>> ?>
>>>
>>> This is actually in a
Bob McConnell wrote:
> From: Philip Thompson
>> During a socket read, why would all the requested number of bytes not
>
>> get sent? For example, I request 1000 bytes:
>>
>> > $data = @socket_read ($socket, 2048, PHP_BINARY_READ);
>> ?>
>>
>> This is actually in a loop, so I can get all the data i
On Aug 26, 2009, at 11:56 AM, Bob McConnell wrote:
From: Philip Thompson
During a socket read, why would all the requested number of bytes not
get sent? For example, I request 1000 bytes:
This is actually in a loop, so I can get all the data if split up.
So,
for example, here's how the d
From: Philip Thompson
>
> During a socket read, why would all the requested number of bytes not
> get sent? For example, I request 1000 bytes:
>
> $data = @socket_read ($socket, 2048, PHP_BINARY_READ);
> ?>
>
> This is actually in a loop, so I can get all the data if split up. So,
> for examp
Philip Thompson wrote:
> Hi.
>
> During a socket read, why would all the requested number of bytes not
> get sent? For example, I request 1000 bytes:
>
> $data = @socket_read ($socket, 2048, PHP_BINARY_READ);
> ?>
>
> This is actually in a loop, so I can get all the data if split up. So,
> for
Hi.
During a socket read, why would all the requested number of bytes not
get sent? For example, I request 1000 bytes:
This is actually in a loop, so I can get all the data if split up. So,
for example, here's how the data split up in 3 iterations (for 1000
bytes):
650 bytes
200 bytes
With any code doing a basic socket functionality, the code that i gave in
the original post is suppossed to connect to a deamon, and get a message
from it , instead it "makes the deamon go crazy" in the sense that it starts
endless looping and loads the system resources up to max.
"Jim Lucas" <
vixle wrote:
> well i mean even if we would not consider that particular piece of code as
> an example of the code that i have issues with im still rather interesting
> if theres some different between the socket model used by say, c++(winsock
> in my case) and the sockets used in php
> because
well i mean even if we would not consider that particular piece of code as
an example of the code that i have issues with im still rather interesting
if theres some different between the socket model used by say, c++(winsock
in my case) and the sockets used in php
because when made a simple c++
figured id top-post on this one, since the original message was so long..
i recommend debugging with a tool like wireshark. that way you can
see whats in the packets going over the wire and hopefully it will lead
to a solution.
-nathan
On Dec 19, 2007 12:54 AM, vixle <[EMAIL PROTECTED]> wrote:
this code doesn't interact with php client while with c++ based one it
works just fine.
.anybody?
#include
#include
#include
#include
using namespace std;
int i = 0;
int ar = 0;
const int is = 50;
SOCKET stack[is];
void clientserve(void* ws)
{
SOCKET wsocket = *(SOCKET*)ws;
int fgotus
this code doesn't interact with with php client while with c++ based one it
works just fine.
.anybody?
#include
#include
#include
#include
using namespace std;
int i = 0;
int ar = 0;
const int is = 50;
SOCKET stack[is];
void clientserve(void* ws)
{
SOCKET wsocket = *(SOCKET*)ws;
int f
i have a daemon running on that port that sends a message when it's got a
client connected
but the script above doesn't output anything it just loads my cpu up to 100
percent and thats it then it basically stops working. While i need it to
display the messages sent by server(daemon) to the us
On Wed, May 2, 2007 6:29 am, [EMAIL PROTECTED] wrote:
> I need to do some socket work on a production machine that is
> constantly
> busy so I don't dare re-compile php. Anybody know if it's possible to
> load
> the socket functions dynamically, maybe as if they were in a module?
If you can do --w
Am Mittwoch, 2. Mai 2007 14:36 schrieb Oliver Block:
> --with-socket=shared
Actually it should be --enable-sockets=shared
Regards,
Oliver
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Am Mittwoch, 2. Mai 2007 13:29 schrieb [EMAIL PROTECTED]:
> I need to do some socket work on a production machine that is constantly
> busy so I don't dare re-compile php. Anybody know if it's possible to load
> the socket functions dynamically, maybe as if they were in a module?
It's possible if
I need to do some socket work on a production machine that is constantly
busy so I don't dare re-compile php. Anybody know if it's possible to load
the socket functions dynamically, maybe as if they were in a module?
Alternatively, would it be possible to compile PHP without apache and with
sockets
Thanks for the answer.
In the meantime I've managed to solve the problem be removing the
pcntl_wait call. Actually I think this is a bug, because as I
understand things pcntl_wait shouldn't block the main process, but I
don't have experience with either sockets or Unix process, so I might
be wrong
On Tue, March 20, 2007 8:27 am, Adrian Gheorghe wrote:
> I've sent a bug report earlier and it got marked as bogus, so I
> decided to ask here about a possible solution. You can see the bug
> report at http://bugs.php.net/bug.php?id=40864
Looks like a pretty cogent bug report to me...
Perhaps Ton
Hello everyone,
I've sent a bug report earlier and it got marked as bogus, so I
decided to ask here about a possible solution. You can see the bug
report at http://bugs.php.net/bug.php?id=40864
Thanks in advance,
Adrian.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: h
Koktas
[EMAIL PROTECTED]
Business Excellence Development
Phi.dot Internet Systems
-Original Message-
From: Anthony Rasmussen [mailto:[EMAIL PROTECTED]
Sent: Saturday, January 06, 2007 11:12 PM
To: php-general@lists.php.net
Subject: [PHP] PHP Sockets - How to detect client disconnection
How do I detect a disconnected client from a socket resource?
In an infinite loop, I socket_read() every open resource that passes a
socket_select().
As far as I know, the only way to detect if the client disconnected
unexpectedly from their socket resource is when socket_read() returns FALS
Hi,
I want to implement a client-server relationship between a PHP server
application and another .NET client application.
I want the connection to be kept alive, so I use the socket routine
running till disconnecting. I also want to transfer the data between the
server and client using SOAP e
On 7/13/05, Greg Donald <[EMAIL PROTECTED]> wrote:
> `php -h` tells you all the command line options.. and all the basic
> fuctionality is covered in the manual online. Seems complete to me.
ehmm you weren't refering to the CLI version but anyways, I'd be
grateful to anyone who points me to more
On 7/12/05, Ahmed Saad <[EMAIL PROTECTED]> wrote:
> yeah the manual is completely drak when it comes to php CLI binary
`php -h` tells you all the command line options.. and all the basic
fuctionality is covered in the manual online. Seems complete to me.
--
Greg Donald
Zend Certified Engineer
Hi André,
On 7/12/05, André Medeiros <[EMAIL PROTECTED]> wrote:
> Since there was no reference to that on the PHP manual, I thought about
> mentioning it just to be safe.
yeah the manual is completely drak when it comes to php CLI binary
--
PHP General Mailing List (http://www.php.net/)
To unsub
Since there was no reference to that on the PHP manual, I thought about
mentioning it just to be safe.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hi all,
> On Tue, 2005-07-12 at 16:49 +0200, daro wrote:
> Also remember to set_time_limit(0) ;)
PHP ENTER CONFUSION
The *CLI* version of php has no max execution time by default (0)
- Where's the php CLI version in php4?
[PHP_HOME]/cli/php.exe and it reads a php.ini if it was in the SAME
direc
Please, PLEASE "Reply to All"!
Yes, you have to add something like
--8<-
while(true) {
// code here
if( $someConditionThatWillMakeMeExit ) {
break;
}
sleep(1); // to prevent excessive processor
On Tue, 2005-07-12 at 09:58 -0500, Greg Donald wrote:
> On 7/12/05, daro <[EMAIL PROTECTED]> wrote:
> > I don't know where should I put this script to be able to receive all
> > datas and respond
> > with proper strings.
>
> You would run the script as a shell script from the command line.
>
>
You should use/run it via PHP-CLI. It is a shell script.
Ex: /usr/local/bin/php socket.php (on linux) or
C:\PHP\php.exe socket.php (on windooz/M$-dos)
Good luck.
Hidayet Dogan
On Tue, 12 Jul 2005, daro wrote:
Hi.
I'm writing a TCP/IP server and client.
On your website I found ready php sc
On Tue, 2005-07-12 at 16:49 +0200, daro wrote:
> Hi.
> I'm writing a TCP/IP server and client.
> On your website I found ready php script http://pl2.php.net/sockets but I
> have a question.
>
> For TCP/IP server the example script from your website has to be put on
> server as index.php file an
On 7/12/05, daro <[EMAIL PROTECTED]> wrote:
> I don't know where should I put this script to be able to receive all datas
> and respond
> with proper strings.
You would run the script as a shell script from the command line.
On windows you can just save the code as a regular php script then
sta
Hello,
Is there a special newsgroup for socket programming?
regards
Harry
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
This may sound a bit cheeky, but I've spent most of today looking for some
examples of sockets.
I've managed to create a socket and it's connecting ok, but next I need to
find a way of sending an ASCII string to the remote computer and echo-ing
the results back to my screen.
(Using a text box to su
Hi,
I think curt is right about transfer encoding being a problem, however i
feel it may not be 'the' problem. This timing issue looks like you are
running into a 'blocking' kind of situation. Cosmin, Have you tried the
'Connection: close' header?
Getting back to transfer encoding you might wan
* Thus wrote Cosmin ([EMAIL PROTECTED]):
> On Sun, 2003-10-26 at 15:30, Raditha Dissanayake wrote:
> > are you getting any 1xx status codes from the web server?
>
> here are the full headers:
>
> Transfer-Encoding: chunked
This is probably the problem. If you inspect your data, you'll
notice that
On Sun, 2003-10-26 at 15:30, Raditha Dissanayake wrote:
> are you getting any 1xx status codes from the web server?
here are the full headers:
HTTP/1.1 200 OK
Date: Mon, 27 Oct 2003 06:15:30 GMT
Server: Apache/1.3.27 (Unix) PHP/4.3.3
X-Powered-By: PHP/4.3.3
Transfer-Encoding: chunked
Content-Type:
are you getting any 1xx status codes from the web server?
Cosmin wrote:
I'm trying to make an application using XML-RPC, and I have the
following problem: I use fsockopen() to simulate a POST to my local
web-server. All goes very well except it's very very slow. Here is my
code maybe someone coul
On Sat, 2003-10-25 at 17:42, Curt Zirzow wrote:
> * Thus wrote Cosmin ([EMAIL PROTECTED]):
> > I'm trying to make an application using XML-RPC, and I have the
> > following problem: I use fsockopen() to simulate a POST to my local
> > web-server. All goes very well except it's very very slow. Here
* Thus wrote Cosmin ([EMAIL PROTECTED]):
> I'm trying to make an application using XML-RPC, and I have the
> following problem: I use fsockopen() to simulate a POST to my local
> web-server. All goes very well except it's very very slow. Here is my
> code maybe someone could tell me what I'm doing
I'm trying to make an application using XML-RPC, and I have the
following problem: I use fsockopen() to simulate a POST to my local
web-server. All goes very well except it's very very slow. Here is my
code maybe someone could tell me what I'm doing wrong:
=
$url
Probably your problems about "i can send about seven messages per second"
may be relationed to
OS's tcp connection stream buffering... try to flush every fd after write to
it. I wrote a multi-threaded (pcntl_fork())
application in phpcli using many sockets and they worked well... array
iterations a
Hi thomas,
Thomas Weber wrote:
IMAP? We were talking about IRC,
Used imap as an example.
the Internet Relay Chat.
In detail, my problems doesn't even refer to IRC directly, as i am
developing a server for a html-based webchat, but the server-structure and
the messages are nearly the same.
Yes m
Hello,
I'm just getting my feet wet with a Dev Shed sockets tutorial
(http://www.devshed.com/Server_Side/PHP/SocketProgramming/page5.html).
I am having a little problem with one of the tutorial code samples,
which should socket_write some text back to the client--except it's not
doing that.
Is it possible to resume persistent sockets opened with pfsockopen?
I really need to know if it's possible to resume a socket from another
script, like if I've saved the socket into a session variable.
Thank You
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://ww
Ever since PHP 3, I have been using Sockets to pass GET and POST information.
Yes, now that there is the caching ability, I no longer need to do it that
way, however it has never failed me and since I deal with some high visibility
applications, I am reluctant to change.
With my experience li
Hi -
I have an problem and I'm not sure how to proceed troubleshooting. I
have a socket connection that I'm making to a local stunnel daemon. The
connection works and is valid until it seemingly dies and the resource
type becomes unknown.
at timestamp: 1044900028.6608 my object has this reso
Hi,
I really need some help here because I am going to lose my mind otherwise!!
A script that was running fine Friday has decided not to work for no
apparent reason today. The problem seems to be with a socket_create that
just stops the script, so I created a simple test script as shown below to
s
I'm not sure if it would be helpful, but I wrote a quick PHP socket
application that implements a specialized HTTP proxy. It's a quick
hack of sorts, but I have found it to be very stable, and it uses the
latest sockets API. It consists of only one small PHP script, and
it's fairly well commented.
Hi,
I realise that sockets is still 'experimental' but any help will be much
appreciated. I am developing a queue system to send commands across from a
server to a client using sockets. Problem is that the I keep getting a
'connection reset by peer' error after the first command is sent. The serve
I am in the beginning stages of writing my first socket based php app from
scratch. However I think I've quickly picked up a bad coding habbit when
reading from sockets. I'm doing the following:
//writing the socket
socket_write ($socket,"blah blah$CRLF", strlen ($in));
//sleeping for 1 second.
This is how sockets work, if you close the process holding the socket,
the conection is closed.
There is no function reopen_the_old_conection. You are not clear about
what you are trying to
achive, but maybe you should rethink your design.
Gareth Thomas wrote:
Hi,
I am running 4.3.0pre2 on RH
Hi,
I am running 4.3.0pre2 on RH 7.2 and on Windows2k I am trying to implement a
socket based client/server communication program with the server being on
the Linux side and the current test client on windows (although it will be
on Linux eventually). A series of commands is sent by the client sid
Yep, if you're using UNIX and compiling from source, you must add this
switch to the command line when you're configuring and compiling PHP:
--enable-sockets
(e.g.: ./configure --enable-sockets). If you're using a prepackaged
version (RPM or Windows) then you should look into the documentation
Hey everyone,
Does anybody know what the current support / functionality for PHP
with sockets is? According to the documentation, all the socket_
functions should be included in PHP >= 4.1.0. I'm currently running
4.2.1 and PHP doesn't seem to recognize these functions (socket_send,
socket_write,
Is it possible to read and write to multiple sockets at once with php?
Can anyone please answer that question?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I've got a fully functioning socket server that I use for monitoring written in PHP...
email if you want the full script, too big to waste peoples time with here.
---
/* Neunzig neun Möglichkeiten zu sterben
// Ich bin nur ein anderer Zahn in der Maschine. */
On Wed, 14 Aug 2002 15:09:09
Gus
Although pcntl and fork() were mentioned, you might want to look at
socket_select() as an alternative. Using socket_select(), you can set up a
multiplexer to handle multiple sockets at the same time. (Or roughly the
same time...)
J
Gustavo Almeida wrote:
>
>
> I would like to know, what
Take a look at the pcntl functions. In particular the pcntl_fork()
function.
On Wed, 14 Aug 2002, Gustavo Almeida wrote:
>
>
> I would like to know, what I have to do to make my application handle
> multiple connections?
>
> My current application only handle one user per time.
>
> Sorry about
I would like to know, what I have to do to make my application handle
multiple connections?
My current application only handle one user per time.
Sorry about my English, but i live in Brazil, if anybody could help me
answer me [EMAIL PROTECTED] .
Thanky you
--
PHP General Mailing List (htt
On Sat, 6 Jul 2002, Zac Hillier wrote:
> I'm opening a port on a remote machine presently I'm using fsockopen() which
> is fine for opening the port and sending data however I'm having trouble
> reading data back from the port.
>
> So I've considered using socket functions but do not appear to be
Hi All,
I'm opening a port on a remote machine presently I'm using fsockopen() which
is fine for opening the port and sending data however I'm having trouble
reading data back from the port.
So I've considered using socket functions but do not appear to be able to
get a connection. When I run th
umns/demitrious/sockets-connection
>
> B i g D o g
>
> - Original Message -
> From: "Josh Levine" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, June 26, 2002 11:32 AM
> Subject: [PHP] PHP sockets/daemon problem
>
> > I
D]>
Sent: Wednesday, June 26, 2002 11:32 AM
Subject: [PHP] PHP sockets/daemon problem
> I'm trying to write a simple PHP script that communicates with a daemon
> running on the same server.
>
> Basically, the daemon just accepts an integer and returns an integer:
>
> [
I'm trying to write a simple PHP script that communicates with a daemon
running on the same server.
Basically, the daemon just accepts an integer and returns an integer:
[josh@jlevine-research josh]$ telnet 127.0.0.1 60324
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
9
2
Barry Smoke
Project Leader
Vispman.org
-Original Message-
From: Barry Smoke [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 06, 2002 1:07 PM
To: [EMAIL PROTECTED]
Subject: [PHP] --enabel-pnctl / php sockets
I have recently discovered php's binary capabilities, and am using it to
wr
Check out phpserv.
-Original Message-
From: Barry Smoke [mailto:[EMAIL PROTECTED]]
Sent: 06 May 2002 19:07
To: [EMAIL PROTECTED]
Subject: [PHP] --enabel-pnctl / php sockets
I have recently discovered php's binary capabilities, and am using it to
write a virtual isp management s
qmail,
etc...
I have seen a couple of other php binary projects(using php sockets),
such as phserv, where an entire web server (like apache) has been
written in nothing but php.
I tried to install these, and they wouldn't run without php compiled
with
--enable-pcntl
Now, it is my understa
1 - 100 of 149 matches
Mail list logo