As Trustin Lee told , use telnet test case first;
and something important is that alway plus "\0" at the end of your xml string.
On 9/18/06, Trustin Lee <[EMAIL PROTECTED]> wrote:
Please make sure first if you can connect to the echo server using 'telnet'
command. Flash has its own security mechanism so it might be blocking your
connection.
HTH,
Trustin
On 9/18/06, Sascha <[EMAIL PROTECTED]> wrote:
>
> Hello iam very new to MINA and also to JAVA,
> i have a question regarding MINA and Adobe flash
> (not rtmp i mean http for the flash own xml socket Class).
>
> i build the echoserver sample from the 0.95 version in eclipse and its
> running or better it tells me its running but i cant connect
> from flash to the echoserver sample, may i did something wrong, may
> someone could help me,
>
> i just added this line
>
> [CODE]
> System.out.println( "recognizing connection try ");
> [/CODE]
>
> in here :
>
> [CODE]
> if( session.getTransportType() == TransportType.SOCKET )
> {
> System.out.println( "recognizing connection try ");
> ( ( SocketSessionConfig ) session.getConfig()
> ).setReceiveBufferSize( 2048 );
> }
> [/CODE]
>
> thats in
>
>
>
mina-0.9.5\examples\src\main\java\org\apache\mina\examples\echoserver\EchoProtocolHandler.java
>
>
> but there is no output for that, may i missunderstand the method wrong,
>
> any kind of help would be very welcomed
>
> thanks in advance
>
> Sascha
>
--
what we call human nature is actually human habit
--
http://gleamynode.net/
--
PGP key fingerprints:
* E167 E6AF E73A CBCE EE41 4A29 544D DE48 FE95 4E7E
* B693 628E 6047 4F8F CFA4 455E 1C62 A7DC 0255 ECA6