From: E O. <com...@ho...> - 2003-06-10 16:31:17
|
Yeah, Dean, I've had had a look at the man pages already... = unfortunately, they weren't much help. From what I can gather, as you rightly stated = there, php persistent sockets just don't exist (at least in the sense I = describe) unless of course, I go ahead and put together some sort of hack. I don't know... I'll see what java/php gives me. Regards, E Okyere=20 -----Original Message----- From: amf...@li... [mailto:amf...@li...] On Behalf Of Dean Williams Sent: Monday, June 09, 2003 6:58 PM To: amf...@li... Subject: Re: [amfphp] persistent sockets (pfsockopen) Have you read the user contributed notes at=20 http://www.php.net/manual/en/function.pfsockopen.php ? It doesn't look like you will get this working the way you think it = should. E Okyere wrote: >Hello all: > >Has anyone tried anything with persistent sockets (opened w/ = pfsockopen) and >amfphp? What I am trying to do is establish a connection to a server = (open a >socket) on first request from a flash client (with amfphp), and then = let >subsequent requests go through the opened socket. > >With my experiment here, the socket opens and the first transaction = returns >the expected chars from the socket stream to flash, but once I try to >converse with the opened socket again, I get a "is not a valid stream >resource" even though netstat shows that the socket is still open. > >Has anyone done anything with persistent sockets (w/ pfsockopen) and if = so, >could you please direct me to any resources? Thanks > >E Okyere > > >------------------------------------------------------- >This SF.net email is sponsored by: Etnus, makers of TotalView, The = best >thread debugger on the planet. Designed with thread debugging features >you've never dreamed of, try TotalView 6 free at www.etnus.com. >_______________________________________________ >amfphp-general mailing list >amf...@li... >https://lists.sourceforge.net/lists/listinfo/amfphp-general > =20 > ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ amfphp-general mailing list amf...@li... https://lists.sourceforge.net/lists/listinfo/amfphp-general |