Re: [PHP] recv() socket question



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
.



Relevant Pages

  • Re: WEB SITE PROJECT DEPLOYMENT ~ Help please??
    ... ECHO When/If prompted with the question: ... The files are all now sitting on my Server, and when I load my web site, ... An error has occurred while establishing a connection to the server. ... The connection string specifies a local Sql Server Express instance using ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: AJAX devtool using Cobol
    ... managed by a Java Applet. ... Server Affinity is completely under ... just enter an asterix "*" for the Queue Name and then click ... Applet Java code is application-neutral and completely reusable. ...
    (comp.lang.cobol)
  • Re: JVM/Java memory footprint
    ... I found that if I use Java for developing the CLI ... application I will be exhausting the memory of our Application Server ... to make the JVM shareable. ... multiple client processes? ...
    (comp.lang.java.programmer)
  • Java Network Programming FAQ
    ... Java Network Programming FAQ. ... How can I find out who is accessing my server? ... What are socket options, and why should I use them? ... How does servlet performance compare to applets? ...
    (comp.lang.java.programmer)
  • Java Network Programming FAQ
    ... Java Network Programming FAQ. ... How can I find out who is accessing my server? ... What are socket options, and why should I use them? ... How does servlet performance compare to applets? ...
    (comp.lang.java.programmer)