I'm trying to get fsockopen to work.  Somehow, I believe it is something that I am 
missing because I can make an http-get work with fsockopen.  It could be that I have 
to initialize the socket in perl differently.  STDIN / STDOUT works on unix, but 
opening processes does not work on windows. PHP 4.06 is supposed to have fixed this 
problem.  Thanks for your reply.

-----Original Message-----
From: Michael Rudel [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 18, 2001 9:41 AM
To: 'Che Gonzalez'; 'php-windows'
Subject: RE: [PHP-WIN] Sockets problems in php


Hola Che,

Have you tried "fsockopen" ?? (opens a socket
connection).

Or if you could make your pearl-"demons" communicate
with stdin/stdout you could manage your things with
unix-shell commands.

Perhaps this helps.

Greetinx,
  Mike

Michael Rudel
- Web-Development, Systemadministration -
_______________________________________________________________

Suchtreffer AG
Bleicherstraße 20
D-78467 Konstanz
Germany
fon: +49-(0)7531-89207-17
fax: +49-(0)7531-89207-13
e-mail: mailto:[EMAIL PROTECTED]
internet: http://www.suchtreffer.de
_______________________________________________________________



> -----Original Message-----
> From: Che Gonzalez [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 18, 2001 3:21 PM
> To: php-windows
> Subject: FW: [PHP-WIN] Sockets problems in php
>
>
>       Has anybody linked perl socket servers to php scripts
> and made it work?
>
> -----Original Message-----
> From: Che Gonzalez [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 16, 2001 11:55 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Sockets problems in php
>
>
>       I created several rpc tcp servers in perl.  The pearl
> clients work fine, and sending a message to the server in php
> works.  The problem happens after the perl server replies ( I
> have seen the actual reply through monitoring the server ).
> The php script hangs on freads and fgets.  I turned off
> blocking and looped several times while throwing in a sleep
> interval in between , but this was still to no avail.  Any
> ideas out there, or has anyone found this to be a bug?  I
> might try this on Linux tomorrow to eliminate any other
> possibilities, but any ideas to save me some time would
> greatly be appreciated.
>       Also, I tried a simple socket-http get on a web page
> and it worked ( Also works with host header sites, which
> fopen doesn't seem to work with).
>
> Buenos Noches zzZ!
>
>
>  ******************************************
>  * Che Gonzalez [mailto:[EMAIL PROTECTED]] *
>  * Atlantic.net                           *
>  * Manager of Web Development/            *
>  * Network Administrator                  *
>  * MCSE+I / CCNA / SCO ACE                *
>  ******************************************
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail:
> [EMAIL PROTECTED]
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail:
> [EMAIL PROTECTED]
>


--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to