[PHP] Re: Sockets as a module or a separate PHP CLI instance?

2007-05-02 Thread Man-wai Chang
[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

[PHP] Re: sockets (again)

2002-11-25 Thread Stephan Seidt
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

[PHP] Re: Sockets

2002-09-23 Thread Philip Hallstrom
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

[PHP] Re: sockets

2002-01-29 Thread Mike Frazer
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

Re: [PHP] Re: sockets

2002-01-29 Thread Kunal Jhunjhunwala
:) 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

Re: [PHP] Re: sockets

2002-01-29 Thread Michael Sims
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

[PHP] Re: Sockets on FreeBSD Mac OS X

2001-10-03 Thread Devon Weller
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

[PHP] Re: Sockets on FreeBSD Mac OS X

2001-10-02 Thread Richard Lynch
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

[PHP] Re: Sockets

2001-09-19 Thread Chris Lee
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

[PHP] Re: sockets question

2001-08-21 Thread CC Zona
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