Re: [flexcoders] Cant receive socket data

2009-04-10 Thread John Fisher
hmmm. I could easily append some bytes and see what happens, but not 'til Monday when I go back to work. Thanks! Maciek Sakrejda wrote: Interesting. We ran into this issue with URLStream: http://bugs.adobe.com/jira/browse/FP-748 -- maybe your problem is related? Actually, searching Adobe

Re: [flexcoders] Cant receive socket data

2009-04-09 Thread john fisher
yikes, please ignore extraneous asterisks in snippet. this is corrected: - the server code ( perl) snippet: my $NULLBYTE = pack( 'c', 0 ); if ( $1 eq new ) { print STDOUT request is: $1 sending xml data\n;

RE: [flexcoders] Cant receive socket data

2009-04-09 Thread Maciek Sakrejda
Subject: Re: [flexcoders] Cant receive socket data yikes, please ignore extraneous asterisks in snippet. this is corrected: - the server code ( perl) snippet: my $NULLBYTE = pack( 'c', 0 ); if ( $1 eq new ) { print

Re: [flexcoders] Cant receive socket data

2009-04-09 Thread john fisher
Thanks - but I added this code and no change. The events don't fire. socket = new XMLSocket(); configureListeners(socket); private function configureListeners(dispatcher:IEventDispatcher):void { dispatcher.addEventListener(Event.CLOSE, closeHandler);

Re: [flexcoders] Cant receive socket data

2009-04-09 Thread john fisher
More debugging: If I send connect, request data (a short XML text which the server is looking for), then connect again, The data comes through. Note: I am watching in a packet sniffer and I never see the policy file come across any port, though I am able to connect. Note2: if I remove

RE: [flexcoders] Cant receive socket data

2009-04-09 Thread Maciek Sakrejda
: flexcoders@yahoogroups.com on behalf of john fisher Sent: Thu 4/9/2009 4:05 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Cant receive socket data More debugging: If I send connect, request data (a short XML text which the server is looking for), then connect again