Re: recv() socket question
| From: | Jeff Lanzarotta | Date: | Thu, 28 Sep 2006 16:03:14 +0000 |
| Subject: | Re: recv() socket question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-242356@lists.php.net to get a copy of this message | ||
OK, I will try and contact Juan. I wrote the Java server. I believe the
Java side is working because I can send/receive messages just fine
using other clients written in other languages, just not the php
client...
Regards,
-Jeff
--- Richard Lynch <ceo@l-i-e.com> wrote:
> On Thu, September 28, 2006 10:14 am, Jeff Lanzarotta wrote:
> > I am writing a web page that contains some php code the will
> > send/receive a message from a java application running on our
> server.
> >
> > The php code successfully sends a message to the server but will
> not,
> > as far as I know, receive the message back. The only way I know
> this
> > is
> > that I attempt to echo out the message that is received and nothing
> > prints...
> >
> > I am very new to php so I am using 'class.ClientSocket.php' written
> by
> > Juan M. Hidalgo to do all the communications...
> >
> > What is odd is that I receive no errors either from either side.
> >
> > Any ideas would be greatly appreciated.
>
> You could try contacting Juan and/or the Java guy who wrote the
> code...
>
> You should also start reading class.ClientSocket.php and figuring out
> how it works and adding debugging statements to see what's going on.
>
> Ye Olde 'echo "got here\n";' is often the best answer in this
> situation.
>
> --
> Like Music?
> http://l-i-e.com/artists.htm
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>