[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?
I think both Fedora Core and Ubuntu do it. Check out
Hi,
You have to choose a protocol for AF_INET sockets.
Try getprotobyname() with tcp and udp to get one.
bye
On Mon, 25 Nov 2002 10:24:46 -0800
[EMAIL PROTECTED] (Gareth Thomas) wrote:
Hi,
I really need some help here because I am going to lose my mind otherwise!!
A script that was
Yes. See the online manual notes in the Socket Functions section for
links to examples.
On Mon, 23 Sep 2002, Martin W Jørgensen wrote:
Is it possible to read and write to multiple sockets at once with php?
Can anyone please answer that question?
--
PHP General Mailing List
Are you referring to PHP sockets or C sockets? PHP sockets are an
implementation of C sockets (which is why most of the actiones needed are
the same in PHP but are somewhat simplified).
If you mean PHP sockets, you can try taking a look at WhoisPro, a
Whois/NICNAME script I wrote to understand
:)
Regards,
Kunal Jhunjhunwala
- Original Message -
From: Mike Frazer [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 30, 2002 4:08 AM
Subject: [PHP] Re: sockets
Are you referring to PHP sockets or C sockets? PHP sockets are an
implementation of C sockets (which is why most
At 01:22 AM 1/30/2002 +0530, Kunal Jhunjhunwala wrote:
Hey Mike,
I am looking for PHP sockets.. hence the php mailing list :P I hvent found
any decent resource on it.. orielly article is good for complete beginers..
but i was looking for something more detailed... any books anyone can
recommend
Thanks for your help. Here is some more information:
I am running the process from the command line as root. I also tried
several different ports, all with the same result.
I don't think you need any special permission to bind to a port above
1024. If so, I couldn't find anything out about
Wild Guess:
Your OS is configured to not allow nobody to bind port 12345, and PHP is
running within Apache as nobody...
Check out what sort of limitations are put upon users binding ports...
If I was a real Un*x guru, I'd even know what command tells you that... :-|
--
WARNING [EMAIL
is this even a php related question? post some code and an example site and
we'll see what we can do.
--
Chris Lee
[EMAIL PROTECTED]
Jonathan Hilgeman [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I run a web application that opens a socket using cURL
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] (Gregor Jaksa) wrote:
i have login.php where i do
$socket_handle = fsockopen($server, $port);
now in add.php i would like to send msg to $socket_handle socket...
include(login.php);
http://php.net/include has more info.
--
CC
--
PHP
10 matches
Mail list logo