Re: [PHP] recv() socket question

2006-09-28 Thread Jeff Lanzarotta
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 <[EMAIL PROTECTED]> 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
> 
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] recv() socket question

2006-09-28 Thread Richard Lynch
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



[PHP] recv() socket question

2006-09-28 Thread Jeff Lanzarotta
Hello,

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.

-Jeff

-Jeff

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php